, a divider line is drawn above the toolbar, to separate it from the menu bar. The default value is nil
A list of images.
A list of callback functions.
A list of names.
A list of strings.
The width of the toolbar buttons.
The height of the toolbar buttons.
The width of images in the toolbar.
The height of images in the toolbar.
A generalized boolean.
The items argument may be used to specify a mixture of toolbar-buttons and toolbar-components, or it may contain arbitrary objects as items. The list may also contain CAPI panes, which will appear within the toolbar. This is typically used with text-input-pane, option-pane, and text-input-choice.
For items that are not toolbar buttons or toolbar components, a toolbar button is automatically created, using the appropriate elements of the images , callbacks , names , texts and tooltips lists. If no image is specified, the item itself is used as the image. For more information on acceptable values for images , see toolbar-button.
Each of the images , callbacks , names , texts and tooltips lists should be in one-to-one correspondence with the items. Elements of these lists corresponding to toolbar-button items or toolbar-component items are ignored.
is now deprecated. Use the interface
All toolbar buttons within the item list behave as push buttons. However, toolbar button components may have :single-selection
interaction. See toolbar-component for further details.
specifies whether the toolbar is 'flat' on Cocoa. If
is true, then the buttons do not have a visible outline until the user moves the mouse over them.
is only implemented on Cocoa. (On Microsoft Windows, all toolbars are flat. On Motif, no toolbar is flat.) The default value of
explicitly you can add an
by supplying the interface initarg :toolbar-items
. This has the advantages that the toolbar is automatically positioned correctly within the window and has platform-standard behavior such as folding on Cocoa.CAPI User Guide and Reference Manual (Macintosh version) - 25 Feb 2015