1 CAPI Reference Entries
calculate-layoutgeneric function is used to provide a method for laying out the children of a new layout.
calculate-layout layout x y width height
calculate-layoutis called by the CAPI to layout the children of a layout. When defining a new class of layout using
calculate-layoutmethod must be provided that sets the x, y, width and height of each of the layout's children. This method must try to obey the constraints specified by its children (its minimum and maximum size) and should only break them when it becomes impossible to fit the constraints of all of the children.
with-geometrywhich works in a similar way as
capi-layoutspackage. They have been moved into the
CAPIpackage for simplicity.
Generated with Harlequin WebMaker