summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Dew <marcoz@osource.org>2011-10-27 22:55:45 -0600
committerMatt Dew <marcoz@osource.org>2011-10-27 22:55:45 -0600
commit007ce11591e6dcb9367124aa0d3180014b3e346f (patch)
tree536b6cf0febc51128e610744ff1480791e174e43
parent449ec1398f492db9498c60b235805e93594f5131 (diff)
proofread appC.xml
-rw-r--r--specs/appC.xml20
1 files changed, 10 insertions, 10 deletions
diff --git a/specs/appC.xml b/specs/appC.xml
index 53e7c24..a93dcef 100644
--- a/specs/appC.xml
+++ b/specs/appC.xml
@@ -8,9 +8,9 @@ This appendix is part of the formal Intrinsics Specification.
</title>
<para>
-In prototype versions of the (tk
+In prototype versions of the X Toolkit
each widget class
-implemented an Xt&lt;\^<emphasis remap='I'>Widget</emphasis>\^&gt;Create (for example,
+implemented an Xt&lt;<emphasis remap='I'>Widget</emphasis>&gt;Create (for example,
<function>XtLabelCreate</function>)
function, in which most of the code was identical from widget to widget.
In the Intrinsics, a single generic
@@ -21,10 +21,10 @@ implemented for the particular widget class.
<para>
Each Composite class also implemented the procedures
-Xt&lt;\^<emphasis remap='I'>Widget</emphasis>\^&gt;Add and an Xt&lt;\^<emphasis remap='I'>Widget</emphasis>\^&gt;Delete (for example,
+Xt&lt;<emphasis remap='I'>Widget</emphasis>&gt;Add and an Xt&lt;<emphasis remap='I'>Widget</emphasis>&gt;Delete (for example,
<function>XtButtonBoxAddButton</function>
and
-<function>XtButtonBoxDeleteButton ).</function>
+<function>XtButtonBoxDeleteButton</function>).
In the Intrinsics, the Composite generic procedures
<function>XtManageChildren</function>
and
@@ -37,14 +37,14 @@ the call to the change_managed procedure is delayed until realization time.
</para>
<para>
-Old-style calls can be implemented in the (tk by defining
+Old-style calls can be implemented in the X Toolkit by defining
one-line procedures or macros that invoke a generic routine. For example,
you could define the macro
<function>XtLabelCreate</function>
as:
</para>
-<literallayout class='monospaced'>
+<literallayout>
#define XtLabelCreate(name, parent, args, num_args) \
((LabelWidget) XtCreateWidget(name, labelWidgetClass, parent, args, num_args))
</literallayout>
@@ -812,7 +812,7 @@ An old-format resource type converter procedure pointer is of type
<funcsynopsis id='XtConverter'>
<funcprototype>
-<funcdef>void <function>*XtConverter</function></funcdef>
+<funcdef>typedef void <function>(*XtConverter)</function></funcdef>
<paramdef>XrmValue *<parameter>args</parameter></paramdef>
<paramdef>Cardinal *<parameter>num_args</parameter></paramdef>
@@ -1196,7 +1196,7 @@ Returns the converted value.
<funcsynopsis id='XtDirectConvert'>
<funcprototype>
-<funcdef> <function>XtDirectConvert</function></funcdef>
+<funcdef>void <function>XtDirectConvert</function></funcdef>
<paramdef>XtConverter <parameter>converter</parameter></paramdef>
<paramdef>XrmValuePtr <parameter>args</parameter></paramdef>
<paramdef>Cardinal <parameter>num_args</parameter></paramdef>
@@ -1389,7 +1389,7 @@ The Intrinsics register an action table for
<function>XtMenuPopup</function>
and
<function>XtMenuPopdown</function>
-as part of (tk initialization.
+as part of X Toolkit initialization.
This routine has been replaced by
<function>XtAppAddActions</function>.
<function>XtInitialize</function>
@@ -1835,7 +1835,7 @@ On POSIX-based systems,
it prints the message to standard error and terminates the application.
Fatal error message handlers should not return.
If one does,
-subsequent (tk behavior is undefined.
+subsequent X Toolkit behavior is undefined.
This routine has been superseded by
<function>XtAppSetErrorHandler</function>.
</para>