The with-geometry
macro is used for defining layouts and for creating new pinboard-object
classes, by binding a set of variables to a pane's geometry.
The macro with-geometry
binds the following variables across the forms in body to slots in the pane's geometry in much the same way as the Common Lisp macro with-slots
. Its main uses are for defining layouts and for creating new pinboard-object
classes.
The x position of the pane.
The y position of the pane.
The width in pixels of the pane.
The height in pixels of the pane.
The minimum width of the pane.
The minimum height of the pane.
The maximum width of the pane.
The maximum height of the pane.
The object whose geometry this is.
The same as %object%
(kept for 3.1 compatibility).
Ratio information.
In LispWorks 3.1, this macro and all of its variable names were in the capi-layouts
package. They have been moved into the CAPI
package for simplicity.