shortcut

shortcut — A key combination for an action that is also accessible through a menu

Synopsis

Content Model

shortcut ::=

Attributes

Common attributes and common linking attributes.

Additional attributes:

  • Exactly one of:
    • action (enumeration)
      • “click”
      • “double-click”
      • “press”
      • “seq”
      • “simul”
    • Each of:
      • action (enumeration)
        • “other”
      • otheraction

Required attributes are show in bold.

Description

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.

Processing expectations

Formatted inline.

Attributes

Common attributes and common linking attributes.

action

FIXME:

Enumerated values:

other

FIXME:

otheraction

FIXME:

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 FilesExit Emacs (C-x-C-c).

ChangeLog

This alpha reference page is $Revision: 1.4 $ published $Date: 2005/10/31 12:31:57 $.