Best approach would forking an existing theme engine and adjusting it to your device's special requirements. - IMHO. Am Freitag, den 18.01.2008, 13:55 +1300 schrieb Alwin Leerling: > Hi, > > My program runs on a device on which it is very hard to see the current > selected widget. I therefore wrote to functions > "on_button_focus_in_event" and "on_button_focus_out_event" that set or > reset the background color ( gtk_widget_modify_bg( widget, > GTK_STATE_NORMAL, &color_active ) and gtk_widget_modify_bg( widget, > GTK_STATE_NORMAL, NULL ) respectively ) and attached these callbacks to > my buttons. > > I tried the same trick with the combo boxes but the background does not > change. > > Anybody got any suggestions how I can change the color of a combo box > when it gets the focus? > > Thanks in advance > > > Alwin > > _______________________________________________ > gtk-list mailing list > gtk-list@xxxxxxxxx > http://mail.gnome.org/mailman/listinfo/gtk-list -- Mathias Hasselmann <mathias.hasselmann@xxxxxx> Openismus GmbH: http://www.openismus.com/ Personal Site: http://taschenorakel.de/
Attachment:
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
_______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list