shortcut
shortcut — A key combination for an action that is also accessible through a menu.
Synopsis
shortcut ::=
- One or more of:
 
Attributes
Additional attributes:
- Exactly one of:
- action (enumeration)
- “click”
 - “double-click”
 - “press”
 - “seq”
 - “simul”
 
 - Each of:
- action (enumeration)
- “other”
 
 - otheraction
 
 - action (enumeration)
 
 - action (enumeration)
 
Required attributes are shown in bold.
Description
A shortcut contains the key combination that is
      a shortcut for a menuchoice. Users who 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.
Processing expectations
Formatted inline.
Attributes
- action
 Identifies the nature of the action taken. If
keycombocontains more than one element,simulis 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.
- action
 Identifies the nature of the action taken
Enumerated values: “other” Indicates a non-standard action
- otheraction
 Identifies the non-standard action in some unspecified way.
Children
The following elements occur in shortcut: keycap, keycombo, keysym, mousebutton.
See Also
accel, guibutton, guiicon, guilabel, guimenu, guimenuitem, guisubmenu, keycap, keycode, keycombo, keysym, menuchoice, mousebutton
Examples
<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
.



![[+]](figs/web/nav/right.gif)
![[+]](figs/web/nav/down.gif)