The element containing this element.
The interface containing this element.
An object used for lookup of help. Default value
A string designator.
The x position of the element in a pinboard.
The y position of the element in a pinboard.
element contains the slots
which contain the element and the interface that the element is contained in respectively. The writer method
element-parent can be used to re-parent an element into another parent (or to remove it from a container entirely by setting its parent to
nil). Note that an element should not be used in more than one place at a time.
specifies that the element can accept input. The default value is
t. In some subclasses including display-pane and title-pane the default value of
nil. A pane accepts the input focus if and only if the function accepts-focus-p returns true.
also influences whether a pane is a tabstop on Microsoft Windows, where a pane acts as a tabstop if and only if the function accepts-focus-p returns true and the
:accepts-focus-p initarg value is
:force. On Motif and Cocoa, a pane acts as a tabstop if and only if the function accepts-focus-p returns true.
is used to determine how help is displayed for the pane. The value
nil means that no help is displayed. Otherwise,
is passed to the
, except when
t, when the name of the pane is passed to the
. For details of
, see interface.
widget-name specifies the widget name of the element. This is used to match resources on GTK+ and Motif. Note that this name will be in the path only if the element has a representation. tab-layout and pinboard-layout always have a representation, as do all elements that show anything on the screen. Other layouts may or may not have a representation and so you should not supply widget-name for these.
If widget-name is not supplied, the system constructs a default widget name which is the name of the class of the widget (downcased), except for top level interfaces on GTK+ where the application-class is prepended followed by a dot.
element-widget-name gets and (with
setf) sets the
is used when the widget is created, that is when display is called on the top level interface of the element. Setting
afterwards has no effect.
All elements accept initargs (listed above) representing hints as to the initial size and position of the element. By default elements have a minimum pixel size of one by one, and a maximum size of
nil (meaning no maximum), but the hints can be specified to change these values. For the detailed interpretation of, and possible values for, these hints see Width and height hints.
:text-height as the default value of
:visible-min-height, ensuring that the text is visible.
nil is used in the ratios then the associated pane(s) will be fixed at their minimum size.
CAPI User Guide and Reference Manual (Macintosh version) - 25 Feb 2015