Shortcut ::= ((KeyCap|KeyCombo|KeySym|MouseButton)+)
Name | Type | Default |
OtherAction | CDATA | None |
Action | Enumeration: Click | None |
MoreInfo | Enumeration: None | "None" |
Both the start- and end-tags are required for this element.
A Shortcut contains the key combination that is a shortcut for a MenuChoice. Users that are familiar with the shortcuts can access the functionality of the corresponding menu choice, without navigating through the menu structure to find the right menu item.
Action identifies the nature of the action taken. If Shortcut contains more than one action element, Simul is default value for Action, otherwise there is no default.
If Other is specified, OtherAction should be used to identify the nature of the action.
If MoreInfo is set to RefEntry, it implies that a RefEntry exists which further describes the Shortcut.
OtherAction should be used when Action is set to Other. It identifes the nature of the action in some application-specific way.
Accel, GUIButton, GUIIcon, GUILabel, GUIMenu, GUIMenuItem, GUISubmenu, KeyCap, KeyCode, KeyCombo, KeySym, MenuChoice, MouseButton
<!DOCTYPE para PUBLIC "-//OASIS//DTD DocBook V3.1//EN"> <para> You can exit from GNU Emacs with <menuchoice> <shortcut> <keycombo><keysym>C-x</keysym><keysym>C-c</keysym></keycombo> </shortcut> <guimenu>Files</guimenu> <guimenuitem>Exit Emacs</guimenuitem> </menuchoice>. </para>
You can exit from GNU Emacs with Files->Exit Emacs (C-x-C-c).
For additional examples, see also MenuChoice.
Copyright © 1999 O'Reilly & Associates, Inc. All rights reserved.
HIVE: All information for read only. Please respect copyright! |