| 1 | <refentry id="shortcut.element"> |
| 2 | <?dbhtml filename="shortcut.html"?> |
| 3 | <refentryinfo> |
| 4 | <pubdate>$Date$</pubdate> |
| 5 | <releaseinfo>$Revision$</releaseinfo> |
| 6 | </refentryinfo> |
| 7 | |
| 8 | <refmeta> |
| 9 | <indexterm><primary>elements</primary> |
| 10 | <secondary>shortcut</secondary></indexterm> |
| 11 | <refentrytitle>shortcut</refentrytitle> |
| 12 | <refmiscinfo>Element</refmiscinfo> |
| 13 | </refmeta> |
| 14 | <refnamediv> |
| 15 | <refname>shortcut</refname> |
| 16 | <refpurpose>&shortcut.purpose;</refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | &shortcut.synopsis.gen; |
| 20 | <refsect1 condition='ref.description'><title>Description</title> |
| 21 | |
| 22 | <para> |
| 23 | A <sgmltag>Shortcut</sgmltag> contains the key combination that is a |
| 24 | shortcut for a <sgmltag>MenuChoice</sgmltag>. Users that are familiar with |
| 25 | the shortcuts can access the functionality of the corresponding |
| 26 | menu choice, without navigating through the menu structure to find |
| 27 | the right menu item. |
| 28 | </para> |
| 29 | |
| 30 | <refsect2><title>Processing expectations</title> |
| 31 | <para> |
| 32 | &format.inline; &pexp.moreinfo; |
| 33 | </para> |
| 34 | </refsect2> |
| 35 | |
| 36 | |
| 37 | &shortcut.parents.gen; |
| 38 | &shortcut.children.gen; |
| 39 | </refsect1> |
| 40 | <refsect1 condition='ref.elem.attrdesc'><title>Attributes</title> |
| 41 | <variablelist> |
| 42 | <varlistentry><term>action</term> |
| 43 | <listitem> |
| 44 | <para> |
| 45 | <sgmltag class="attribute">Action</sgmltag> identifies the nature of the action |
| 46 | taken. If <sgmltag>Shortcut</sgmltag> contains more than one action element, |
| 47 | <literal>Simul</literal> is default value for <sgmltag class="attribute">Action</sgmltag>, |
| 48 | otherwise there is no default. |
| 49 | </para> |
| 50 | <para> |
| 51 | If <literal>Other</literal> is specified, <sgmltag class="attribute">OtherAction</sgmltag> |
| 52 | should be used to identify the nature of the action. |
| 53 | </para> |
| 54 | </listitem> |
| 55 | </varlistentry> |
| 56 | <varlistentry><term>moreinfo</term> |
| 57 | <listitem> |
| 58 | <para> |
| 59 | If <sgmltag class='attribute'>MoreInfo</sgmltag> is set to <literal>RefEntry</literal>, |
| 60 | it implies that a <sgmltag>RefEntry</sgmltag> exists which further describes the |
| 61 | <sgmltag>Shortcut</sgmltag>. |
| 62 | </para> |
| 63 | </listitem> |
| 64 | </varlistentry> |
| 65 | <varlistentry><term>otheraction</term> |
| 66 | <listitem> |
| 67 | <para> |
| 68 | <sgmltag class="attribute">OtherAction</sgmltag> should be used when |
| 69 | <sgmltag class="attribute">Action</sgmltag> is set to <literal>Other</literal>. It |
| 70 | identifes the nature of the action in some application-specific way. |
| 71 | </para> |
| 72 | </listitem> |
| 73 | </varlistentry> |
| 74 | </variablelist> |
| 75 | </refsect1> |
| 76 | <refsect1 condition='ref.elem.seealso'><title>See Also</title> |
| 77 | &shortcut.seealso.gen; |
| 78 | </refsect1> |
| 79 | <refsect1><title>Examples</title> |
| 80 | |
| 81 | <informalexample role="example-source"> |
| 82 | <programlisting>&shortcut.example.1.txt;</programlisting> |
| 83 | </informalexample> |
| 84 | |
| 85 | <anchor id="ex.os.shortcut.1" role="HACK-ex.out.start"/> |
| 86 | &shortcut.example.1.gen; |
| 87 | <anchor id="ex.oe.shortcut.1" role="HACK-ex.out.end"/> |
| 88 | |
| 89 | &shortcut.example.seealso.gen; |
| 90 | </refsect1> |
| 91 | </refentry> |
| 92 |