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

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

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

<para>
A <sgmltag>Shortcut</sgmltag> contains the key combination that is a
shortcut for a <sgmltag>MenuChoice</sgmltag>. Users that are familiar with 
the shortcuts can access the functionality of the corresponding
menu choice, without navigating through the menu structure to find
the right menu item.
</para>

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


&shortcut.parents.gen;
&shortcut.children.gen;
</refsect1>
<refsect1 condition='ref.elem.attrdesc'><title>Attributes</title>
<variablelist>
<varlistentry><term>action</term>
<listitem>
<para>
<sgmltag class="attribute">Action</sgmltag> identifies the nature of the action
taken. If <sgmltag>Shortcut</sgmltag> contains more than one action element,
<literal>Simul</literal> is default value for <sgmltag class="attribute">Action</sgmltag>,
otherwise there is no default.
</para>
<para>
If <literal>Other</literal> is specified, <sgmltag class="attribute">OtherAction</sgmltag>
should be used to identify the nature of the action.
</para>
</listitem>
</varlistentry>
<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>Shortcut</sgmltag>.
</para>
</listitem>
</varlistentry>
<varlistentry><term>otheraction</term>
<listitem>
<para>
<sgmltag class="attribute">OtherAction</sgmltag> should be used when
<sgmltag class="attribute">Action</sgmltag> is set to <literal>Other</literal>. It 
identifes the nature of the action in some application-specific way.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 condition='ref.elem.seealso'><title>See Also</title>
&shortcut.seealso.gen;
</refsect1>
<refsect1><title>Examples</title>

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

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

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

