| 1 | <refentry id="action.element"> |
| 2 | <?dbhtml filename="action.html"?> |
| 3 | <refentryinfo> |
| 4 | <pubdate>$Date$</pubdate> |
| 5 | <releaseinfo>$Revision$</releaseinfo> |
| 6 | </refentryinfo> |
| 7 | |
| 8 | <refmeta> |
| 9 | <indexterm><primary>elements</primary> |
| 10 | <secondary>action</secondary></indexterm> |
| 11 | <refentrytitle>action</refentrytitle> |
| 12 | <refmiscinfo>Element</refmiscinfo> |
| 13 | </refmeta> |
| 14 | <refnamediv> |
| 15 | <refname>action</refname> |
| 16 | <refpurpose>&action.purpose;</refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | &action.synopsis.gen; |
| 20 | <refsect1 condition='ref.description'><title>Description</title> |
| 21 | |
| 22 | <para> |
| 23 | Actions are usually associated with <acronym>GUI</acronym>s. An event might be movement or |
| 24 | clicking of the mouse, a change in focus, or any number of other |
| 25 | occurrences. |
| 26 | </para> |
| 27 | |
| 28 | <refsect2><title>Processing expectations</title> |
| 29 | <para> |
| 30 | &format.inline; &pexp.moreinfo; |
| 31 | </para> |
| 32 | </refsect2> |
| 33 | |
| 34 | <refsect2 role="fu" revision="4.0"><title>&FutureChanges;</title> |
| 35 | <para> |
| 36 | The content model of <sgmltag>Action</sgmltag> will be constrained to |
| 37 | <literal>(#PCDATA | Replaceable | InlineGraphic)</literal> in |
| 38 | DocBook <acronym>V4.0</acronym>. |
| 39 | </para> |
| 40 | </refsect2> |
| 41 | |
| 42 | |
| 43 | &action.parents.gen; |
| 44 | &action.children.gen; |
| 45 | </refsect1> |
| 46 | <refsect1 condition='ref.elem.attrdesc'><title>Attributes</title> |
| 47 | <variablelist> |
| 48 | <varlistentry><term>moreinfo</term> |
| 49 | <listitem> |
| 50 | <para> |
| 51 | If <sgmltag class='attribute'>MoreInfo</sgmltag> is set to <literal>RefEntry</literal>, |
| 52 | it implies that a <sgmltag>RefEntry</sgmltag> exists which further describes the |
| 53 | <sgmltag>Action</sgmltag>. |
| 54 | </para> |
| 55 | </listitem> |
| 56 | </varlistentry> |
| 57 | </variablelist> |
| 58 | </refsect1> |
| 59 | <refsect1><title>Examples</title> |
| 60 | |
| 61 | <informalexample role="example-source"> |
| 62 | <programlisting>&action.example.1.txt;</programlisting> |
| 63 | </informalexample> |
| 64 | |
| 65 | <anchor id="ex.os.action.1" role="HACK-ex.out.start"/> |
| 66 | &action.example.1.gen; |
| 67 | <anchor id="ex.oe.action.1" role="HACK-ex.out.end"/> |
| 68 | |
| 69 | &action.example.seealso.gen; |
| 70 | </refsect1> |
| 71 | </refentry> |
| 72 |