Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## box

Arguments: object

Returns a box object that specifies the exterior of the argument object with respect to its parent. The object may be a `dialog-item`, or window (though box simply calls exterior when passed a non-widget window). (setf box) may be called to resize the object.

When passed a `combo-box` or `dropping-outline` dialog-item (or the dialog-item's window), the returned box includes the height of the dropping pane of the widget. Similarly, when calling (setf box), the height should specify the height of the widget with its dropping pane; this determines how far the dropping pane can extend downward. (The undropped widget is maintained at a standard height.) To instead find the box that does not include the dropping pane, use `(exterior (window dialog-item))` (see exterior and window).

Beginning in version 7.0, the box method specializing on `hotspot` has become the new generic function hotspot-region, though the box method for hotspots and its associated `:box` initarg still exist for compatibility.

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version