View Class: MenuPanel
Spec Class: MenuPanelSpec
The Tool Bar Widget is used to provide horizontal or vertical tool bar capabilities. Originally, the MenuPanel class (the view class of the widget) was introduced for menu bars and popup menus, but it can also be used for tool bars. Therefore, the components of the tool bar are defined by using the Menu Editor.
ID | Unique symbolic name (ID) of the tool bar.
This ID can be used by the application to access the widget via "builder>>componentAt:#ID". |
Selector | Aspect selector or binding for the building
of the tool bar items.
It should return a menu spec. |
Performer | Aspect selector or binding for sending
the messages of the tool bar items to an object.
It should return an object which is able to receive the messages. |
Menu Editor | Opens a Menu Editor on the application class and the defined selector. |
Font | Defines the font style of the tool bar's
labels.
After selecting the check toggle the font style can be chosen by selecting one of the Family/Face/Style/Size buttons. If no font style is selected, the tool bar takes its default font style from the style sheet. |
Has Vertical Layout | Turns on/off that the tool bar has a vertical layout. |
Show Separating Lines | Turns on/off that the items are separated by lines. |
Can Tab | Turns on/off that the tool bar can be reached by tabbing. |
Enable | Aspect selector or binding for en-/disabling
the tool bar.
It should return a - Boolean instance** (only for static behavior)
A value model is used to provide a dynamically changing of the ability of the tool bar. |
Copyright © 1998 eXept Software AG, all rights reserved