Gets or sets the geometry of a child in a static-layout.
capi
static-layout-child-geometry pinboard-object-or-pane => x, y, width, height
setf (static-layout-child-geometry pinboard-object-or-pane) (values x y width height) => x, y, width, height
pinboard-object-or-pane⇩ | |
A pinboard-object or a pane. | |
Integers. |
Integers. |
The accessor static-layout-child-geometry
returns as multiple values x, y, width and height the geometry of pinboard-object-or-pane inside its parent static-layout. The setter can be used with all four values at the same time.
The setter can be used be used to set only some of the values, by using t
for values that need not change. For example, changing the x coordinate to 100 and the width to 50 without affecting the vertical dimension:
(setf (static-layout-child-geometry pinboard-object) (values 100 t 50 t))
The values that static-layout-child-geometry
gets or sets are the same as the values that static-layout-child-position and static-layout-child-size get and set. The setter is more efficient than using the setters of static-layout-child-position and static-layout-child-size sequentially, and does only one redisplay.
CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:27