Next | Prev | Up | Top | Contents | Index

Menus

In a graphical user interface, menus are the most common method for users to issue commands in an application. The way you program Motif is to establish separate widgets for all the pieces of a menu, such as:

menu bar

This is used to group several menu buttons together, usually at the top of the main window, by default horizontally.

menu buttons

This is a special type of xmPushButton that automatically brings up a pulldown menu. When this widget is created as a child of another popup menu, it forms a cascading submenu, with small arrows added to the right of the original pulldown menu.

pulldown menu


This a special type of xmRowColumn widget intended to hold several buttons, and perhaps separators, vertically.

xmMenuBar
xmPushButton
xmPulldownMenu
xmCascadeButton
Exotic Menus

Next | Prev | Up | Top | Contents | Index