
6 Laying Out a GUI
6-52
You can also:
• Choose a keyboard accelerator for the menu item with the
Accelerator
pop-up menu. In combination with
Ctrl, this is the keyboard equivalent for
a menu item that does not have a child menu. Note that some accelerators
may be used for other purposes on your system and that other actions may
result.
• Display a separator above the menu item by checking
Separator above this
item
.
• Display a check next to the menu item when the menu is first opened by
checking
Check mark this item. A check indicates the current state of the
menu item. See the example in “Adding Items to the Context Menu” on
page 6-57.
• Enable this item when the menu is first opened by checking
Enable this
item
. This allows the user to select this item when the menu is first opened.
If you deselect this option, the menu item appears dimmed when the menu
is first opened, and the user cannot select it.
• Specify a string for the routine, i.e., the
Callback, that performs the action
associated with the menu item. If you have not yet saved the GUI, the default
value is
'%automatic'. When you save the GUI, and if you have not changed
Comentarios a estos manuales