DocBook: The Definitive GuideBy Norman Walsh & Leonard Muellner1st Edition October 1999 1-56592-580-7, Order Number: 5807 652 pages, $36.95 , Includes CD-ROM |
Accel
Synopsis
Mixed Content Model
Accel ::= ((#PCDATA|Replaceable|InlineGraphic|InlineMediaObject|IndexTerm)+)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.
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.
Back to: DocBook: The Definitive Guide
© 2001, O'Reilly & Associates, Inc.