Re: changing a widget's background




"Janet M. Birch" <jbirch@entergy.com> writes:

> should this apply to ANY widget ?  i tried it (both methods) with my
> labels and i didnt get any color change.  what AM i doing wrong.

Labels are "transparent" - they simply draw on top of their
container without a background of their own. So if you want
to change a label's background, you need to change the background
of it's parent. If it doesn't have a convenient parent,
you could add it to a GtkEventBox.

Regards,
                                        Owen



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