LispWorks CAPI Reference Manual > 1 CAPI Reference Entries

NextPrevUpTopContentsIndex

define-layout

Macro
Summary

The macro define-layout creates 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


LispWorks CAPI Reference Manual - 21 Dec 2009

NextPrevUpTopContentsIndex