Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version