[Gtk-sharp-list] How to change the background
Myron
acemyron at gmail.com
Thu Jun 23 17:26:34 EDT 2005
I tried to change the button & Labels' background, but the setting didn't work.
Button bt = new Button("CheckDetail");
Gdk.Color clrTemp ;
Gdk.Colormap cmTemp;
clrTemp = new Gdk.Color(255,255,255);
cmTemp = Gdk.Colormap.System;
cmTemp.AllocColor (ref clrTemp, true, true);
bt.ModifyBg(StateType.Normal, clrTemp);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://galactus.ximian.com/pipermail/gtk-sharp-list/attachments/20050623/d45bd1b9/attachment.html
More information about the Gtk-sharp-list
mailing list