<refentry id="guimenuitem.element">
<?dbhtml filename="guimenuitem.html"?>
<refentryinfo>
<pubdate>$Date$</pubdate>
<releaseinfo>$Revision$</releaseinfo>
</refentryinfo>

<refmeta>
<indexterm><primary>elements</primary>
<secondary>guimenuitem</secondary></indexterm>
<refentrytitle>guimenuitem</refentrytitle>
<refmiscinfo>Element</refmiscinfo>
</refmeta>
<refnamediv>
<refname>guimenuitem</refname>
<refpurpose>&guimenuitem.purpose;</refpurpose>
</refnamediv>

&guimenuitem.synopsis.gen;
<refsect1 condition='ref.description'><title>Description</title>

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

<refsect2><title>Processing expectations</title>
<para>
&format.inline; &pexp.moreinfo;
</para>
</refsect2>


&guimenuitem.parents.gen;
&guimenuitem.children.gen;
</refsect1>
<refsect1 condition='ref.elem.attrdesc'><title>Attributes</title>
<variablelist>
<varlistentry><term>moreinfo</term>
<listitem>
<para>
If <sgmltag class='attribute'>MoreInfo</sgmltag> is set to <literal>RefEntry</literal>,
it implies that a <sgmltag>RefEntry</sgmltag> exists which further describes the
<sgmltag>GUIMenuItem</sgmltag>.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 condition='ref.elem.seealso'><title>See Also</title>
&guimenuitem.seealso.gen;
</refsect1>
<refsect1><title>Examples</title>

<informalexample role="example-source">
<programlisting>&guimenuitem.example.1.txt;</programlisting>
</informalexample>

<anchor id="ex.os.guimenuitem.1" role="HACK-ex.out.start"/>
&guimenuitem.example.1.gen;
<anchor id="ex.oe.guimenuitem.1" role="HACK-ex.out.end"/>

&guimenuitem.example.seealso.gen;
</refsect1>
</refentry>

