menu-component is a choice that is used to group menu items and submenus both visually and functionally. The items contained by the
menu-component appear separated from other items, menus, or menu components, by separators.
The items to appear in the menu.
menu-component is a choice, the component can have
:multiple-selection (extended selection does not apply here). This is represented visually in the menu as appropriate to the window system that the CAPI is running on (by ticks in Microsoft Windows, and by radio buttons and check buttons in Motif).
items and items-function behave as in menu.
No more than one of
should be non-nil. Each defaults to
nil. If one of these setup callbacks is supplied, it should be a function which is called before the
menu-component is displayed and which determines which items are selected. By default the setup callback is called on the interface of the
menu-component, but this argument can be changed by passing the menu-object initarg
, if non-nil, should return a value which is suitable for passing to the choice accessor
(setf choice-selection). This will be
nil, or a single index (for
:single-selection), or a list of item indices (for
CAPI User Guide and Reference Manual (Macintosh version) - 25 Feb 2015