Gets or sets the geometry of a child in a static-layout.
The function static-layout-child-geometry
returns as multiple values the
x
,
y
,
width
and
height
of its argument. 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 (Unix version) - 3 Aug 2017