Skip to Main Content
Volume 7A: XView Programming Manual
book

Volume 7A: XView Programming Manual

by Dan Heller
October 1994
Intermediate to advanced content levelIntermediate to advanced
770 pages
22h 58m
English
O'Reilly Media, Inc.
Content preview from Volume 7A: XView Programming Manual
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Volume 6A: Motif Programming Manual

Volume 6A: Motif Programming Manual

David Brennan, Dan Heller, Paula Ferguson
Java™ Media APIs: Cross-Platform Imaging, Media, and Visualization

Java™ Media APIs: Cross-Platform Imaging, Media, and Visualization

Alejandro Terrazas, John Ostuni, Michael Barlow

Publisher Resources

ISBN: 9780937175873