[pygtk] Check if a window is maximized

Johannes Bauer dfnsonfsduifb at gmx.de
Thu Apr 30 00:22:01 WST 2009


Hello list,

is it possible to check if a gtk.Window is maximized or not? All I found
was http://www.mail-archive.com/gtkmm-list@gnome.org/msg10253.html which
suggests to extract the state from the underlying gtk.gdk.Window. I
tried to extract the gtk.gdk.Window by using wnd.frame, but that always
returns None - wnd.state always returns 0.

Is that possible?

Kind regards,
Johannes


More information about the pygtk mailing list