Using IlvMenuBar and IlvToolBar
The
A Menu Bar
A Toolbar
These classes are very similar. The only difference is that IlvToolBar provides interactive features that the IlvMenuBar does not support, such as tooltips and gadgets.
Managing Gadgets in a Toolbar
You can add a gadget to a toolbar with the
A Toolbar with a Gadget shows a toolbar with a combo box.
When the user clicks a gadget in a toolbar, the gadget is given the focus and all keyboard events are directly sent to it. See Focus Management.
You can force the focus to be given to a specific item with setFocusItem and retrieve the gadget that has the focus with getFocusItem.
Using Tooltips in a Toolbar
To set a tooltip for a menu item,
Tooltip Displayed