Re: Setting the background colour of a container



Wolfgang Sourdeau <wolfgang ultim net> writes:

What is the way of setting the background colour of a container such
as a GtkTable? I have tried different ways during 2 hours without
success...


Put the GtkTable in a GtkEventBox, set the color of the event box.
 
Another question is, in the same table, how do I insert buttons with a
maximum size ? What I was using before is a GtkFixed instead of the
table, which used to work fine but is less pretty.


You can't set a maximum size in any straightforward way I can think
of. Typically you pack the table in such a way that extra space goes
to widgets other than buttons.

Havoc




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