The menu bar widget is used to group together a set of cascade buttons from which pulldown menus may be created. The main window of an application will usually have a menu bar.
The menu bar is an example of a RowColumn widget and shares its resource panel.
Users can access menus and menu items, without using the mouse, through keyboard mnemonics and accelerators.
For more information, consult XmCreateMenuBar(3X) in the OSF/Motif Programmer's Reference.
HINTS
The main window widget provides a standard layout for an application main window and will lay out a menu bar properly.
If you want to put a menu bar across the top of a form, you should attach the left side of the menu bar to the left of the form and position the right edge of the menu bar with an offset of 100 (percent). This will give appropriate resize behavior.
The help button by convention should appear to the right of the menu bar. To do this, set the variable name of the help button and use this name as the Help widget resource of the menu bar.
See also: