All Manuals > CAPI Reference Manual > 1 CAPI Reference Entries

NextPrevUpTopContentsIndex

simple-layout

Class
Summary

A simple-layout is a layout with a single child, and the child is resized to fill the space (where possible).

Package

capi

Superclasses

x-y-adjustable-layout

Subclasses

switchable-layout

Description

A simple layout's description can be either a single child, or a list containing just one child. The simple layout then adopts the size constraints of its child, and lays the child out inside itself.

Example
(capi:contain (make-instance
               'capi:simple-layout
               :description (list (make-instance
                             'capi:text-input-pane))))
See also

layout
row-layout
column-layout


CAPI Reference Manual - 15 Dec 2011

NextPrevUpTopContentsIndex