1 CAPI Reference Entries

layout

Class

Summary

Alayout is a simple pane that positions one or more child panes within itself according to a layout policy.

Superclasses

titled-pane

Subclasses

simple-layout
grid-layout
pinboard-layout
switchable-layout

Slots

default
A flag to mark the default layout for an interface.

description
The list of the layout's children.

Accessors

layout-description

Description

The layout description is an abstract description of the children of the layout, and each layout defines its format. Generally, the description is a list of either panes, slot names (where the name refers to a slot in the layout's interface containing a pane) or strings (where the string gets converted to a title-pane). Setting the layout description causes the layout to translate it, and then to layout the new children, adjusting the size of its parent if necessary.

A number of default layouts are provided which provide the majority of layout functionality that is needed. They are as follows:

simple-layout
A layout for one child.

row-layout
Lays its children out in a row.

column-layout
Lays its children out in a column.

grid-layout
Lays its children out in an n by m grid.

pinboard-layout

Places its children where the user specifies.

switchable-layout

Keeps only one of its children visible.

See Also

define-layout


CAPI Reference Manual, Liquid Common Lisp Version 5.0 - 3 OCT 1997

Generated with Harlequin WebMaker