On Fri, 2008-01-18 at 13:55 +1300, Alwin Leerling wrote: > 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. Have you tried getting hold of the combo's child ( if it's a ComboBoxEntry ) and modifying it? Also you could try a different gtk theme. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: dkasak@xxxxxxxxxxxxxxxxxxxx website: http://www.nusconsulting.com.au _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list