A geometry string is a standard way of describing the size and location of a top-level window on a desktop.
A geometry string has this general form:
"w
xh
±x
±y
"
where:
The
and
w
parts give the window width and height in
pixels. They are separated by the character
h
"x"
.
If the next part has the form
+
,
it specifies that the left side of the window should
be
x
pixels from the left side of the desktop. If it has
the form
x
-
,
the right side of the window is
x
pixels from the right side of the
desktop.x
If the next part has the form
+
,
it specifies that the top of the window should be
y
pixels below the top of the desktop. If it has the
form
y
-
,
the bottom of the window will be
y
pixels above the bottom edge of the
desktop.y
For example, a window created with
geometry="120x50-0+20"
would be
120 pixels wide by 50 pixels high, and its top right
corner will be along the right edge of the desktop and 20
pixels below the top edge.