1 CAPI Reference Entries

define-layout

Macro

Summary

The macro define-layout creates new classes oflayout.

Syntax

define-layout name superclasses slots &rest options

Description

The macrodefine-layout is used to create new classes oflayout. The macro is essentially the same asdefclass except that its default superclass islayout.

To implement a new class oflayout, 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.

Compatibility Note

In LispWorks 3.1, this macro and all of its variable names were in thecapi-layouts package. They have been moved into theCAPI package for simplicity.

See Also

interpret-description
calculate-constraints
calculate-layout
layout


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

Generated with Harlequin WebMaker