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

invalidate-pane-constraints Function

Summary

Causes the resizing of a pane if its minimum and maximum size constraints have changed. It returns t if resizing was necessary.

Package

capi

Signature

invalidate-pane-constraints pane

Arguments
pane
Description

The function invalidate-pane-constraints informs the CAPI that the constraints (its minimum and maximum size) of pane may have changed. The CAPI then checks this, and if the pane is no longer within its constraints it resizes it so that it is and then makes the pane's parent layout lay its children out and display them again at their new positions and sizes. If the pane is resized, then invalidate-pane-constraints returns t.

See also

get-constraints
layout
element
define-layout
6 Laying Out CAPI Panes


CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:27