menuchoice
menuchoice — A selection or series of selections from a menu.
Synopsis
menuchoice ::=
- Sequence of:
shortcut
?- One or more of:
Attributes
Common attributes and common linking attributes.
No additional attributes.
Description
In applications that present graphical user interfaces, it is
often necessary to select an item, or a series of items, from a menu in
order to accomplish some action. The menuchoice
element provides a wrapper to contain the complete combination of
selections.
Processing expectations
Formatted inline.
A menuchoice
may generate arrows or other
punctuation between multiple GUI elements. The
shortcut
may be suppressed, or sometimes it is
presented in parentheses after the rest of the items.
Attributes
Common attributes and common linking attributes.
- any attribute
Any attribute in any other explicit namespace
Parents
These elements contain menuchoice
: bridgehead
, caption
(db.html.caption), citation
, citetitle
, classsynopsisinfo
, contrib
, emphasis
(db.emphasis), entry
, enumitemdescription
, firstterm
(db.firstterm), funcsynopsisinfo
, glosssee
, glossseealso
, glossterm
(db.glossterm), link
, literallayout
, member
, meta
(db.meta.content), olink
, orgdiv
, para
, phrase
(db.phrase), primary
, primaryie
, programlisting
, quote
(db.quote), refdescriptor
, refentrytitle
, refname
, refpurpose
, remark
, screen
, secondary
, secondaryie
, see
, seealso
, seealsoie
, seeie
, seg
, segtitle
, simpara
, subtitle
, synopsis
, synopsisinfo
, td
, term
, termdef
, tertiary
, tertiaryie
, th
, title
, titleabbrev
, tocentry
, userinput
.
Children
The following elements occur in menuchoice
: guibutton
, guiicon
, guilabel
, guimenu
, guimenuitem
, guisubmenu
, shortcut
.
See Also
Related elements: accel
, guibutton
, guiicon
, guilabel
, guimenu
, guimenuitem
, guisubmenu
, keycap
, keycode
, keycombo
, keysym
, mousebutton
, shortcut
.
Examples
1 |<article xmlns='http://docbook.org/ns/docbook'>
|<title>Example menuchoice</title>
||
<para>You can exit from GNU Emacs with
5 |<menuchoice>
|<shortcut>
|<keycombo><keysym>C-x</keysym><keysym>C-c</keysym></keycombo>
|</shortcut>
|<guimenu>Files</guimenu>
10 |<guimenuitem>Exit Emacs</guimenuitem>
|</menuchoice>.
|</para>
||
</article>
You can exit from GNU Emacs with C-xC-cFilesExit Emacs.