Skip to Main Content
Volume 7B: XView Reference Manual
book

Volume 7B: XView Reference Manual

by Dan Heller
September 1991
Intermediate to advanced content levelIntermediate to advanced
311 pages
7h 17m
English
O'Reilly Media, Inc.
Content preview from Volume 7B: XView Reference Manual
MENU_REMOVE_ITEM
Removes the specified menu item.
Argument: Menu_item
Procs: set
Objects: Menu
MENU_REPLACE
Replaces the nth menu item (argument 1) with the menu item specified in argument 2 (n starts at 1).
Argument 1: int
Argument 2: Menu_item
Procs: create, set
Objects: Menu
MENU_REPLACE_ITEM
Replaces the menu item given as first value with the one given as the second value in the menu (the
old item is not replaced in any other menus in which it may appear).
Argument 1: Menu_item
Argument 2: Menu_item
Procs: create, set
Objects: Menu
MENU_SELECTED
This attribute is valid for both a menu and a menu item. On a menu, it returns the selected menu item
number. On a menu item, it returns
TRUE if the item is selected, otherwise it returns FALSE.
Argument: int or Bool
Default:
FALSE
Procs: get
Objects: Menu, Menu_item
MENU_SELECTED_ITEM
Returns the selected menu item.
Argument: Menu_item
Default: None
Procs: get
Objects: Menu
See Also: 11.15
MENU_STRING
Sets or gets the menu item’s string. The string is not copied when this attribute is set.
Argument: char *
Default:
NULL
Procs: create, get, set
Objects: Menu_item
See Also: 11.6.1
MENU_STRING_ITEM
This attribute is for SunView compatibility. For more information, refer to the manual Converting
SunView Applications.
86 XView Reference Manual
MENU_STRINGS
Creates menu items with
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

Gestion des couleurs pas à pas

Gestion des couleurs pas à pas

Jean Delmas
1,000 Garment Graphics

1,000 Garment Graphics

Jeffrey Everett

Publisher Resources

ISBN: 9780937175880