Name
gnome-geometry -- Window geometry utility functions.
Description
This module provides functions to parse a string that specifies a
window geometry (window position on the screen and dimenssions) as
well as a routine to fetch the geometry of a GtkWindow
(for example, a GnomeApp top level window).
Details
gnome_parse_geometry ()
gboolean gnome_parse_geometry (const gchar *geometry,
gint *xpos,
gint *ypos,
gint *width,
gint *height); |
Parses the geometry string passed in geometry, and fills
xpos, ypos, width, and height with
the corresponding values upon completion of the parse.
If the parse fails, it should be assumed that xpos, ypos, width,
and height contain undefined values.
gnome_geometry_string ()
gchar* gnome_geometry_string (GdkWindow *window); |
Determines the size and position of window (must be a window or
dialog), and returns that information as an X geometry string.
Geometry strings are in the form of WIDTHxHEIGHT+X+Y.