
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