| 1 | <refentry id="guimenuitem.element"> |
| 2 | <?dbhtml filename="guimenuitem.html"?> |
| 3 | <refentryinfo> |
| 4 | <pubdate>$Date$</pubdate> |
| 5 | <releaseinfo>$Revision$</releaseinfo> |
| 6 | </refentryinfo> |
| 7 | |
| 8 | <refmeta> |
| 9 | <indexterm><primary>elements</primary> |
| 10 | <secondary>guimenuitem</secondary></indexterm> |
| 11 | <refentrytitle>guimenuitem</refentrytitle> |
| 12 | <refmiscinfo>Element</refmiscinfo> |
| 13 | </refmeta> |
| 14 | <refnamediv> |
| 15 | <refname>guimenuitem</refname> |
| 16 | <refpurpose>&guimenuitem.purpose;</refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | &guimenuitem.synopsis.gen; |
| 20 | <refsect1 condition='ref.description'><title>Description</title> |
| 21 | |
| 22 | <para> |
| 23 | <sgmltag>GUIMenuItem</sgmltag> identifies a terminal selection from a menu in |
| 24 | a graphical user interface. |
| 25 | In particular, this is distinct from a menu (<sgmltag>GUIMenu</sgmltag>) and |
| 26 | a submenu (<sgmltag>GUISubmenu</sgmltag>). The distinction between a |
| 27 | <sgmltag>GUIMenuItem</sgmltag> and a <sgmltag>GUISubmenu</sgmltag> is simply whether |
| 28 | or not the selection is terminal or leads to an additional submenu. |
| 29 | </para> |
| 30 | |
| 31 | <refsect2><title>Processing expectations</title> |
| 32 | <para> |
| 33 | &format.inline; &pexp.moreinfo; |
| 34 | </para> |
| 35 | </refsect2> |
| 36 | |
| 37 | |
| 38 | &guimenuitem.parents.gen; |
| 39 | &guimenuitem.children.gen; |
| 40 | </refsect1> |
| 41 | <refsect1 condition='ref.elem.attrdesc'><title>Attributes</title> |
| 42 | <variablelist> |
| 43 | <varlistentry><term>moreinfo</term> |
| 44 | <listitem> |
| 45 | <para> |
| 46 | If <sgmltag class='attribute'>MoreInfo</sgmltag> is set to <literal>RefEntry</literal>, |
| 47 | it implies that a <sgmltag>RefEntry</sgmltag> exists which further describes the |
| 48 | <sgmltag>GUIMenuItem</sgmltag>. |
| 49 | </para> |
| 50 | </listitem> |
| 51 | </varlistentry> |
| 52 | </variablelist> |
| 53 | </refsect1> |
| 54 | <refsect1 condition='ref.elem.seealso'><title>See Also</title> |
| 55 | &guimenuitem.seealso.gen; |
| 56 | </refsect1> |
| 57 | <refsect1><title>Examples</title> |
| 58 | |
| 59 | <informalexample role="example-source"> |
| 60 | <programlisting>&guimenuitem.example.1.txt;</programlisting> |
| 61 | </informalexample> |
| 62 | |
| 63 | <anchor id="ex.os.guimenuitem.1" role="HACK-ex.out.start"/> |
| 64 | &guimenuitem.example.1.gen; |
| 65 | <anchor id="ex.oe.guimenuitem.1" role="HACK-ex.out.end"/> |
| 66 | |
| 67 | &guimenuitem.example.seealso.gen; |
| 68 | </refsect1> |
| 69 | </refentry> |
| 70 |