All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

simple-layout Class

Summary

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

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

The description of a simple-layout 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.

Examples
(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) - 01 Dec 2021 19:32:42