| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version |
Arguments: lamp
Returns the value of the center-all property of a lamp
widget. The value may be be specified at
creation time with the center-all initarg, or
anytime later by calling (setf center-all).
If the center-all property is
nil
, as it is by default, then the lamp
images are positioned by the outer margin properties from the edge of
the widget on any sides of the lamp image where there are no labels,
leaving the rest of the widget's area for the labels. That may be
useful for aligning the lamp images of multiple widgets by simply
aligning the widgets themselves, without making sure that the widgets
are all the same size. If the center-all property is true, then the lamp
images and labels are centered as a unit within the widget's area.
That may be especially useful when the lamp is used in a grid-widget
cell, to keep the
widget centered as the grid-widget cell changes in size. (When there
are no label strings, the lamp images are always centered.)
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.
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version |