shortcut — A key combination for an action that is also accessible through a menu
shortcut ::=
Common attributes and common linking attributes.
Additional attributes:
Required attributes are shown in bold.
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.
Common attributes and common linking attributes.
Identifies the nature of the action taken. If keycombo contains more than one element, simul is the default, otherwise there is no default.
| Enumerated values: | |
|---|---|
| “click” |
A (single) mouse click. |
| “double-click” |
A double mouse click. |
| “press” |
A mouse or key press. |
| “seq” |
Sequential clicks or presses. |
| “simul” |
Simultaneous clicks or presses. |
Identifies the nature of the action taken
| Enumerated values: | |
|---|---|
| “other” |
Indicates a non-standard action |
Identifies the non-standard action in some unspecified way.
These elements contain shortcut: bridgehead, caption (db.html.caption), citation, citetitle, classsynopsisinfo, emphasis (db.emphasis), entry, firstterm, funcsynopsisinfo, glosssee, glossseealso, glossterm, html:button, html:label, html:legend, link,
literallayout, member, menuchoice, olink, orgdiv, para, phrase (db.phrase), primary, primaryie, programlisting, quote, refdescriptor, refentrytitle, refname, refpurpose, screen, secondary, secondaryie, see, seealso, seealsoie, seeie, seg, segtitle, simpara, subtitle, synopsis, td, term, termdef, tertiary, tertiaryie, th, title, titleabbrev, tocentry, userinput.
accel, guibutton, guiicon, guilabel, guimenu, guimenuitem, guisubmenu, keycap, keycode, keycombo, keysym, menuchoice, mousebutton
<article xmlns='http://docbook.org/ns/docbook'>
<title>Example shortcut</title>
<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>
</article>
You can exit from GNU Emacs with → (C-x+C-c).