On Thu, 11 Jan 2001, George Young wrote:
> How can I find out if a widget is mapped, i.e. if someone has done w.show() or
>show_all() on it?
> I found references in pygtk source to GTK_OBJECT_FLAGS, gtkwidgetflags and
>GTK_MAPPED, but I can't
> figure out how to use them.
use the flags() method of the widget. That is, widget.flags(MAPPED).
Are you sure that you want to check if the widget is mapped though?
Being shown doesn't necessarily mean being mapped.
James.
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk