El mié, 29-04-2009 a las 18:22 +0200, Johannes Bauer escribió:
> Hello list,
> 
> is it possible to check if a gtk.Window is maximized or not? All I found
> was http://www.mail-archive.com/[email protected]/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?
> 

Hello, Johannes.

Try reading the following:

http://www.pygtk.org/docs/pygtk/class-gtkwindow.html#method-gtkwindow--maximize

It says:

"You can track maximization via the gtk.Widget 'window-state-event'
signal"

Hope that helps,

--
Luis Felipe López Acevedo
Medellín, Colombia

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to