diff options
author | Matt Dew <marcoz@osource.org> | 2011-10-25 22:52:49 -0600 |
---|---|---|
committer | Matt Dew <marcoz@osource.org> | 2011-10-25 22:52:49 -0600 |
commit | c0ab4506032fa55a3a86c17de1664bf2d35bd40d (patch) | |
tree | 923079063a7b6096abd335bb71ce614e0d82798c | |
parent | b3fbf9544cba045dcc876dff11843db3597b7647 (diff) |
proofread CH10.xml
-rw-r--r-- | specs/CH10.xml | 125 |
1 files changed, 41 insertions, 84 deletions
diff --git a/specs/CH10.xml b/specs/CH10.xml index 0e1c71c..cd518d4 100644 --- a/specs/CH10.xml +++ b/specs/CH10.xml @@ -57,7 +57,7 @@ The translation action procedure pointer is of type <funcsynopsis id='XtActionProc'> <funcprototype> -<funcdef>void <function>*XtActionProc</function></funcdef> +<funcdef>typedef void <function>(*XtActionProc)</function></funcdef> <paramdef>Widget <parameter>w</parameter></paramdef> <paramdef>XEvent *<parameter>event</parameter></paramdef> <paramdef>String *<parameter>params</parameter></paramdef> @@ -320,7 +320,7 @@ so, the application supplies a procedure pointer of type <funcsynopsis id='XtActionHookProc'> <funcprototype> -<funcdef>void <function>*XtActionHookProc</function></funcdef> +<funcdef>typedef void <function>(*XtActionHookProc)</function></funcdef> <paramdef>Widget <parameter>w</parameter></paramdef> <paramdef>XtPointer <parameter>client_data</parameter></paramdef> <paramdef>String <parameter>action_name</parameter></paramdef> @@ -733,79 +733,41 @@ window manager wants regardless of what the user has specified. <para> Three Intrinsics functions support this merging: -<informaltable> - <tgroup cols='2' align='center'> - <colspec colname='c1'/> - <colspec colname='c2'/> - <tbody> - <row> - <entry>lw(2i) lw(3.75i).</entry> - </row> - <row> - <entry>T{</entry> - </row> - <row> - <entry><function>XtParseTranslationTable</function></entry> - </row> - <row> - <entry>T}</entry> - <entry>T{</entry> - </row> - <row> - <entry>Compiles a translation table.</entry> - </row> - <row> - <entry>T}</entry> - </row> - <row> - <entry>T{</entry> - </row> - <row> - <entry><function>XtAugmentTranslations</function></entry> - </row> - <row> - <entry>T}</entry> - <entry>T{</entry> - </row> - <row> - <entry>Merges a compiled translation table into a widget's</entry> - </row> - <row> - <entry>compiled translation table, ignoring any new translations that</entry> - </row> - <row> - <entry>conflict with existing translations.</entry> - </row> - <row> - <entry>T}</entry> - </row> - <row> - <entry>T{</entry> - </row> - <row> - <entry><function>XtOverrideTranslations</function></entry> - </row> - <row> - <entry>T}</entry> - <entry>T{</entry> - </row> - <row> - <entry>Merges a compiled translation table into a widget's</entry> - </row> - <row> - <entry>compiled translation table, replacing any existing translations that</entry> - </row> - <row> - <entry>conflict with new translations.</entry> - </row> - <row> - <entry>T}</entry> - </row> - </tbody> - </tgroup> -</informaltable> </para> +<variablelist> + <varlistentry> + <term> + <emphasis remap='I'>XtParseTranslationTable</emphasis> + </term> + <listitem> + <para>Compiles a translation table.</para> + </listitem> + </varlistentry> + <varlistentry> + <term> + <emphasis remap='I'>XtAugmentTranslations</emphasis> + </term> + <listitem> + <para>Merges a compiled translation table into a widget's + compiled translation table, ignoring any new translations that + conflict with existing translations. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term> + <emphasis remap='I'>XtOverrideTranslations</emphasis> + </term> + <listitem> + <para>Merges a compiled translation table into a widget's + compiled translation table, replacing any existing translations that + conflict with new translations. + </para> + </listitem> + </varlistentry> +</variablelist> + <para> To compile a translation table, use <function>XtParseTranslationTable</function>. @@ -1069,8 +1031,7 @@ The display_accelerator procedure pointer is of type <funcsynopsis id='XtStringProc'> <funcprototype> -<funcdef>void <function>*XtStringProc</function></funcdef> - +<funcdef>typedef void <function>(*XtStringProc)</function></funcdef> <paramdef>Widget <parameter>w</parameter></paramdef> <paramdef>String <parameter>string</parameter></paramdef> </funcprototype> @@ -1264,7 +1225,7 @@ KeyCode-to-KeySym translator procedure pointers are of type <funcsynopsis id='XtKeyProc'> <funcprototype> -<funcdef>void <function>*XtKeyProc</function></funcdef> +<funcdef>typedef void <function>(*XtKeyProc)</function></funcdef> <paramdef>Display *<parameter>display</parameter></paramdef> <paramdef>KeyCode <parameter>keycode</parameter></paramdef> <paramdef>Modifiers <parameter>modifiers</parameter></paramdef> @@ -1360,7 +1321,7 @@ particular display, use <funcsynopsis id='XtGetKeysymTable'> <funcprototype> -<funcdef>KeySym * <function>XtGetKeysymTable</function></funcdef> +<funcdef>KeySym *<function>XtGetKeysymTable</function></funcdef> <paramdef>Display *<parameter>display</parameter></paramdef> <paramdef>KeyCode *<parameter>min_keycode_return</parameter></paramdef> <paramdef>int *<parameter>keysyms_per_keycode_return</parameter></paramdef> @@ -1406,13 +1367,9 @@ server's KeyCode-to-KeySym table. This table must not be modified. There are <emphasis remap='I'>keysyms_per_keycode_return</emphasis> KeySyms associated with each KeyCode, located in the table with indices starting at index </para> -<itemizedlist> - <listitem> - <para> +<literallayout> (test_keycode - min_keycode_return) * keysyms_per_keycode_return - </para> - </listitem> -</itemizedlist> +</literallayout> <para> for KeyCode <emphasis remap='I'>test_keycode</emphasis>. Any entries that have no KeySyms associated with them contain the value @@ -1563,7 +1520,7 @@ Case converter procedure pointers are of type <funcsynopsis id='XtCaseProc'> <funcprototype> -<funcdef>void <function>*XtCaseProc</function></funcdef> +<funcdef>typedef void <function>(*XtCaseProc)</function></funcdef> <paramdef>Display *<parameter>display</parameter></paramdef> <paramdef>KeySym <parameter>keysym</parameter></paramdef> <paramdef>KeySym *<parameter>lower_return</parameter></paramdef> |