On Mon, 17 Nov 2003 13:45:31 -0200
Christian Robottom Reis <[EMAIL PROTECTED]> wrote:

> On Mon, Nov 17, 2003 at 04:37:46PM +0100, Chris Rouch wrote:
> > I was surprised to need the EventBox for a table - I thought it
> > would have a window associated with it. But without the EventBox,
> > the background pixmap will display and then immediately revert to
> > grey. With the EventBox it remains visible.
> 
> The Table, as most Boxes, lacks an X window, so that's probably the
> issue you've run into.

Makes sense. Is there some documentation somewhere that says which
widgets are windowless? the gtk.Label documentation says this
explicitly, but I've not see it for any others, and to me at least its
not clear which widgets have windows associated and which don't.

For example I'd expect the Button to have a window associated, but to
set a background pixmap (rather than just have a pixmap as a child) I
have to put an event box between the button and the label.

Is it even possible to set the background of a TreeView? 

Regards,

Chris

_______________________________________________
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