Menu frame descriptors
A menu frame definition file can begin with an optional set of
frame descriptors (one set per
menu), followed by at least one set of item
descriptors (one set per item in the menu),
and it can end with one or more optional sets of SLK descriptors
defining SLKs to be displayed when
the menu is current (one set per
screen-labeled function key).
Some of the attributes of a menu that you can define are the following:
-
the action to take when the menu is opened
-
whether the user may select more than one item (multi-select)
-
whether to open a multi-select menu with specific items
already selected (marked)
-
where to place the menu on the screen
-
the longevity of the menu
-
whether or not to show a specific item
-
the action to take for each item
-
the action to take when the menu is closed
The descriptors in a menu definition file must follow this order:
[frame_descriptor_1
.
.
.
frame_descriptor_n]
item-one_descriptor_1
.
.
.
item-one_descriptor_n
[item-n_descriptor_1
.
.
.
item-n_descriptor_n]
. . .
[SLK-n_descriptor_1
.
.
.
SLK-n_descriptor_n
. . .]
NOTE:
Out-of-order descriptors will be ignored if this order--frame, then items, then
SLKs--is not followed.
Next topic:
Frame descriptors for menus
Previous topic:
Frame definition files
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004