Name

accel — A graphical user interface (GUI) keyboard shortcut

Synopsis

accel ::= (text | phrase db._phrase | replaceable | Graphic inlines | Indexing inlines | Linking inlines | Ubiquitous inlines)*

Description

An accelerator is usually a letter used with a Meta key (such as Ctrl or Alt) to activate some element of a GUI without using the mouse to point and click at it.

Processing expectations

Formatted inline.

See Also

guibutton, guiicon, guilabel, guimenu, guimenuitem, guisubmenu, keycap, keycode, keycombo, keysym, menuchoice, mousebutton, shortcut

Examples

<article xmlns='http://docbook.org/ns/docbook'>
<title>Example accel</title>

<para os="windows">You can exit most Windows applications by selecting
<guimenuitem><accel>Q</accel>uit</guimenuitem> or
<guimenuitem>E<accel>x</accel>it</guimenuitem> from
the <guimenu><accel>F</accel>ile</guimenu> menu.
</para>

</article>

Get DocBook 5: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.