On 10/25/05, László Monda <[EMAIL PROTECTED]> wrote: > Hi Gtk# Masters, > > I tried to set the background of a Label widget, using > Widget.ModifyBase(StateType, Gdk.Color) and Widget.ModifyBg(StateType, > Gdk.Color) with no success.
You can't set the background color of a Label directly - something to do with it not being a window widget. It can, however, inherit the background color of its parent. So instead, you can put the label into an EventBox and change the background color of the EventBox using ModifyBg. - Archie _______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
