FW: [Gtk-sharp-list] Background Coloring: Tables, HBoxes, VBoxes

Michael Hutchinson m.j.hutchinson at gmail.com
Tue Mar 21 18:10:35 EST 2006


On 3/21/06, Graham Oneale <graham at resonline.com.au> wrote:
>
> Thanks for the quick response.  This works perfectly when setting the bg
> color of the window, however if you attempt to do a myTable.modifyBg()
> it fails.  Or a box container of any sort.
>
> Any ideas what items I can apply styles to?

Anything that draws anything -- it will use these colours to do its
drawing. Essentially the table does not draw, but just places its
child widgets. What appears as the table background is actually the
widget it's inside, in this case the window.

This applies to most containers, but I think the EventBox does draw
its own background.


Michael


More information about the Gtk-sharp-list mailing list