Parses a standard X Window System geometry string - see the
manual page for X (type “man X”) for details on this.
Window.parseGeometry does work on all GTK+ ports
including Win32 but is primarily intended for an X environment.
If Window.parseGeometry returns TRUE, it will also
set the GDK_HINT_USER_POS and/or GDK_HINT_USER_SIZE hints
indicating to the window manager that the size/position of
the window was user-specified. This causes most window
managers to honor the geometry.
Parses a standard X Window System geometry string - see the manual page for X (type “man X”) for details on this. Window.parseGeometry does work on all GTK+ ports including Win32 but is primarily intended for an X environment.
If either a size or a position can be extracted from the geometry string, Window.parseGeometry returns TRUE and calls Window.setDefaultSize and/or Window.move to resize/move the window.
If Window.parseGeometry returns TRUE, it will also set the GDK_HINT_USER_POS and/or GDK_HINT_USER_SIZE hints indicating to the window manager that the size/position of the window was user-specified. This causes most window managers to honor the geometry.
Note that for Window.parseGeometry to work as expected, it has to be called when the window has its “final” size, i.e. after calling Widget.showAll on the contents and Window.setGeometryHints on the window.