On Sun, 30 Jun 2002, Matt Wilson wrote:

> In GTK there are window widgets and no-window widgets.  No-window
> widgets don't have backgrounds.  Labels are no-widow widgets, they
> simply paint on the window of their parent widget.  So, to change the
> background behind a label you have to change the background of its
> parent.

Thanks for replay. I tried with frame but it did not work.

I added event_box as John suggested and background did work.

But foreground does not. Is there a simpl way to do it?

BR,

Jacek



_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to