Skip to Main Content
Volume 6A: Motif Programming Manual
book

Volume 6A: Motif Programming Manual

by David Brennan, Dan Heller, Paula Ferguson
September 1993
Intermediate to advanced content levelIntermediate to advanced
1014 pages
28h 26m
English
O'Reilly Media, Inc.
Content preview from Volume 6A: Motif Programming Manual
The item is a CascadeButton, which is usually associated with a pullright menu. The value takes two
additional parameters: a compound string label and a mnemonic. Pullright menus are, ironically, easier to
implement and manage using the not−so−simple menu creation routines described in Chapter 15, Menus.
XmVaSEPARATOR
The item is a Separator and it does not take any additional parameters. Since separators cannot be selected, the
callback routine is not called for this item. Adding a separator does not affect the item count with respect to
the client_data values that are passed to the callback routine for other menu items.
XmVaSINGLE_SEPARATOR
This value is identical to XmVaSEPARATOR.
XmVaDOUBLE_SEPARATOR
This value is identical to XmVaSEPARATOR, except that the separator widget displays a double line instead of
a single line.
XmVaTITLE
The item is a Label that is used to create a title in a menu. It takes one additional parameter: a compound
string label. The item is not selectable, so it does not have a mnemonic associated with it and it does not call
the callback routine. Adding a title does not affect the item count with respect to the client_data values
that are passed to the callback routine for other menu items.
Just as with the CascadeButtons in a MenuBar, the labels associated with each menu item are not the names of
the widgets themselves. The names of the buttons are button_n, where n is the position of the button in the
menu (starting with zero). Similarly, the names of the separators ...
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 7A: XView Programming Manual

Volume 7A: XView Programming Manual

Dan Heller

Publisher Resources

ISBN: 9780596000431