- geometry
true if string was parsed successfully.
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 F:Gdk.WindowHints.UserPos and/or Gdk.WindowHints.UserSize 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.