
11
Menus
Menus play an important role in an application’s user interface. An OPEN LOOK menu may
display text or graphics. Menus may be attached to most XView objects such as menu but-
tons, scrollbars or text subwindows, or they may exist independently from objects and be
displayed on demand.
The user may cause a menu to be pinned up by selecting an optional pushpin in the pop-up
menu. When this happens, the menu is taken down and a corresponding command frame is
put up at the same location. Panel items in the pinup window correspond to the menu items
in the menu. Once a menu has been pinned up, the user continues to interact with it just as if
the menu were popped up each time. Menus that are used frequently are good candidates for
having pushpins so the user does not have to repeat the sequence of redisplaying the menu to
make selections.
OPEN LOOK requires that menus have titles. Menus or submenus that originate from menu
buttons or pullright items do not need to have titles, since the name of the menu button or
menu item acts as the title.
Fonts may not be specified in either menu items or menu titles; menu items follow the same
constraints outlined for panel buttons. However, if text is not used, then menu items may
contain graphic images, in which case, the font is of no concern. That is, you could specify a
Server_image that has a string rendered in a particular font.
11.1 Menu Types
There ...