Skip to main content
Version: DocBook V4.5

guimenuitem

guimenuitem — The name of a terminal menu item in a GUI

Synopsis

Mixed Content Model

guimenuitem ::=
(#PCDATA|replaceable|inlinegraphic|inlinemediaobject|indexterm|
beginpage|accel|superscript|subscript)*

Attributes

Common attributes

Name

Type

Default

moreinfo

Enumeration:

none

refentry

"none"

Description

GUIMenuItem identifies a terminal selection from a menu in a graphical user interface. In particular, this is distinct from a menu (GUIMenu) and a submenu (GUISubmenu). The distinction between a GUIMenuItem and a GUISubmenu is simply whether or not the selection is terminal or leads to an additional submenu.

Processing expectations

Formatted inline. The MoreInfo attribute can help generate a link or query to retrieve additional information.

Children

The following elements occur in guimenuitem: accel, beginpage, indexterm, inlinegraphic, inlinemediaobject, replaceable, subscript, superscript.

Attributes

moreinfo

If MoreInfo is set to RefEntry, it implies that a RefEntry exists which further describes the GUIMenuItem.

Examples

<!DOCTYPE para PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<para>
You can exit from GNU Emacs with the keyboard shortcut
<keycombo><keysym>C-c</keysym><keysym>C-x</keysym></keycombo>
or by selecting <guimenuitem>Exit Emacs</guimenuitem> from
the <guimenu>Files</guimenu> menu.
</para>

You can exit from GNU Emacs with the keyboard shortcut C-c+C-x or by selecting Exit Emacs from the Files menu.

For additional examples, see also accel, action, guimenu, guisubmenu, menuchoice, shortcut.