Causes the resizing of a pane if its minimum and maximum size constraints have changed. It returns t
if resizing was necessary.
capi
invalidate-pane-constraints pane
pane⇩ |
A simple-pane. |
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
.
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