All Manuals > CAPI User Guide and Reference Manual > 21 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 User Guide and Reference Manual (Unix version) - 3 Aug 2017

NextPrevUpTopContentsIndex