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

NextPrevUpTopContentsIndex

define-layout

Macro
Summary

Defines new classes of layout.

Package

capi

Signature

define-layout name superclasses slots &rest options

Description

The macro define-layout is used to create new classes of layout. The macro is essentially the same as defclass except that its default superclass is layout.

To implement a new class of layout, methods need to be provided for the following generic functions:

interpret-description

Translate the layout's child descriptions.

calculate-constraints

Calculate the constraints for the layout.

calculate-layout

Layout the children of the layout.

See also

interpret-description
calculate-constraints
calculate-layout
layout


CAPI User Guide and Reference Manual (Unix version) - 25 Feb 2015

NextPrevUpTopContentsIndex