Menu widget

The Menu widget supports both pull-down and pop-up menus.

When placed under a cascade button, menu is a pull-down menu and when placed under a drawing area it is a pop-up menu. Any number of pop-up menus can be placed under a drawing area. It is up to the application to know when to use them. In WorkShop Visual, selecting the menu widget in the hierarchy will decide which pop-up menu is activated in the design window.

Menus are examples of RowColumn widgets and share the same resource panel. The widgets that can be added to menus are: Label, Push Button, Cascade Button and Separator.

For more information, consult XmCreatePopupMenu(3X) and XmCreatePulldownMenu(3X) in the OSF/Motif Programmer's Reference.

See also: