menuchoice

menuchoice — A selection or series of selections from a menu

Synopsis

Content Model

menuchoice ::=

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.

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.

Children

The following elements occur in menuchoice: guibutton, guiicon, guilabel, guimenu, guimenuitem, guisubmenu, shortcut.

See Also

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

Examples

<article xmlns='http://docbook.org/ns/docbook'>
<title>Example menuchoice</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:55 $.