Re: Button background in GTK_RELIEF_NONE



2) How can I actually create a window, with a bunch of labels with differen
t
background colors? Is there any container that actually render a background
other than the one that I listed above?

 
 GtkEventBox.
 
 Havoc

hrm.. you don't happen to know the answer for 2) ? :))

Actually that is the answer for 2),
labels don't have a X Window, so you
cannot change the background directly,

the general way of doing that, is to use a GtkEventBox,
which does nothing, the only job it provides is the
X window that you need to draw the background color.

Carlos





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]