[pygtk] Check if gtk.VBox is hidden

Johan Dahlin jdahlin at async.com.br
Tue Dec 6 04:34:48 WST 2005


tjas ni wrote:
> Hi
> 
> I could not find anything in the gtk reference about how to find out if 
> a gtk.VBox is visible or hidden...
> What I want to do is to check if the box has been set to box.show() or 
> box.hide()

Use:

box.flags() & gtk.VISIBLE

Johan


More information about the pygtk mailing list