geometry/[12,13]
geometry(+Displayable, +ScreenNum,
+Position, +Default, +BW, +FH, +FW,
+XAdd, +YAdd, -X, -Y, -W, -H)
geometry(+ScreenNum, +Position, +Default,
+BW, +FH, +FW, +XAdd, +YAdd, -X,
-Y, -W, -H)
Parses a window geometry given an specification geometry, and
a default geometry. The arguments are:
- Displayable
- a ProXL Displayable. If omitted, the default
Display is used.
- ScreenNum
- an integer specifying which screen the window is
on.
- Position
- an atom specifying a possible incomplete
geometry description in standard X format. See
parse_geometry/5
for details.
- Default
- an atom specifying a complete geometry description in
standard X format.
- BW
- an integer specifying the border width.
- FH
- an integer specifying the font height in pixels.
- FW
- an integer specifying the font width in pixels.
- XAdd
- an integer specifying additional horizontal padding,
in pixels, needed in the window.
- YAdd
- an integer specifying additional vertical padding,
in pixels, needed in the window.
- X
- an integer giving back the x coordinate, or unbound.
- Y
- an integer giving back the y coordinate, or unbound.
- W
- an integer giving back the width, or unbound.
- H
- an integer giving back the height, or unbound.