Next Prev Up Top Contents Index

define-layout

Macro
Summary

The macro define-layout creates new classes of layout .

Syntax

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 - 14 Dec 2001

Next Prev Up Top Contents Index