[pygtk] Remember window geometry

Tobias Weber towb at celvina.de
Sat Aug 15 01:27:41 WST 2009


Hi,
when my application is quit and re-launched I want its window to  
appear in the old place at the last size.

gtk.Window.parse_geometry seems a good candiate for the restore, but  
how do I get the values it takes?

The options I found don't seem very robust because of window  
decorations:
gtk.Widget.get_allocation
gtk.gdk.Window.get_geometry


More information about the pygtk mailing list