1 CAPI Reference Entries

get-constraints

Function

Summary

Theget-constraints function returns a list of the constraints for an element.

Package

CAPI-INTERNALS

Syntax

get-constraints element

Description

The functionget-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


CAPI Reference Manual, Liquid Common Lisp Version 5.0 - 3 OCT 1997

Generated with Harlequin WebMaker