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