bool parse_geometry(string geometry);

Parses an X Window System geometry string. This method works on all Gtk+ ports including Win32 but is primarily intended for an X environment.

If either a size or position can be extracted from geometry, then parse_geometry() calls set_default_size() and/or move() as needed and returns true. If neither a size nor a positon can be extracted from geometry parse_geometry() returns false.

See also: set_default_size() , move()