All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

NextPrevUpTopContentsIndex

static-layout-child-geometry

Function
Summary

Gets or sets the geometry of a child in a static-layout.

Package

capi

Signature

static-layout-child-geometry pinboard-object-or-pane => x , y , width , height

Signature

setf (static-layout-child-geometry pinboard-object-or-pane ) (values x y width height )

Arguments

pinboard-object-or-pane

A pinboard-object or a pane.

Values

x , y , width , height

Integers.

Description

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) - 25 Feb 2015

NextPrevUpTopContentsIndex