[Gtk-sharp-list] MenuBar background color

sebi77 balazs.sebestyen at webcamlaboratory.com
Tue Feb 8 10:22:36 EST 2011


How can I change the background color of menubar? This doesn't work for me:
ModifyBg (Gtk.StateType.Normal, new Gdk.Color(0, 3, 0));

Another problem: 
I want to change the text color of label. This works:
ModifyFg(Gtk.StateType.Normal, new Gdk.Color(255, 0, 0));

but if I want white color (new Gdk.Color(255, 255, 255)), the color of label
is changing during the runtime.
These are bugs or the normal behavior of GTK?

Regards: sebi
-- 
View this message in context: http://mono.1490590.n4.nabble.com/MenuBar-background-color-tp3276109p3276109.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.


More information about the Gtk-sharp-list mailing list