Accel

Name

Accel -- A graphical user interface (GUI) keyboard shortcut

Synopsis

Mixed Content Model

Accel ::=
((#PCDATA|Replaceable|InlineGraphic|InlineMediaObject|IndexTerm)+)

Attributes

Common attributes

Tag Minimization

Both the start- and end-tags are required for this element.

Description

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

Processing expectations

Formatted inline. Often underlined.

Parents

These elements contain Accel: GUIButton, GUIIcon, GUILabel, GUIMenu, GUIMenuItem, GUISubmenu, Interface.

Children

The following elements occur in Accel: IndexTerm, InlineGraphic, InlineMediaObject, Replaceable.

In some contexts, the following elements are allowed anywhere: BeginPage, IndexTerm.

In some contexts, the following elements are excluded: IndexTerm.

See Also

GUIButton, GUIIcon, GUILabel, GUIMenu, GUIMenuItem, GUISubmenu, KeyCap, KeyCode, KeyCombo, KeySym, MenuChoice, MouseButton, Shortcut

Examples

<!DOCTYPE para PUBLIC "-//OASIS//DTD DocBook V3.1//EN">
<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</>ile</guimenu> menu.
</para>

You can exit most Windows applications by selecting Quit or Exit from the File menu.

For additional examples, see also GUIMenu.

Copyright © 1999 O'Reilly & Associates, Inc. All rights reserved.