NextPrevUpTopContentsIndex

get-constraints

Function
Summary

Returns a list of the constraints for an element.

Package

capi

Signature

get-constraints element

Description

The function get-constraints returns the constraints for element as multiple values (the values are the minimum width, the minimum height, the maximum width and the maximum height).

This function calls the generic function calculate-constraints to calculate these sizes initially, but then just uses the values in the geometry cache for the element. To force an element to take account of its new constraints, call the function invalidate-pane-constraints.

See also

calculate-constraints
define-layout
element
invalidate-pane-constraints


LispWorks CAPI Reference Manual - 25 Jul 2006

NextPrevUpTopContentsIndex