summaryrefslogtreecommitdiff
path: root/specs/CH11.xml
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-04-11 19:20:23 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2019-04-16 18:46:02 -0400
commit6f75d2fefcf4e5c158546590bcfafc73293e4038 (patch)
treea162363dd02b63feedc5ab52c8c5af32f666afb7 /specs/CH11.xml
parentd9afa0ca6e677b446ce43f2f189c08cfe87f68f3 (diff)
downloadxorg-lib-libXt-6f75d2fefcf4e5c158546590bcfafc73293e4038.tar.gz
add (with an external script "markup-literallayout") <code> tags
within <literallayout>. Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'specs/CH11.xml')
-rw-r--r--specs/CH11.xml126
1 files changed, 63 insertions, 63 deletions
diff --git a/specs/CH11.xml b/specs/CH11.xml
index 45bdf07..c693592 100644
--- a/specs/CH11.xml
+++ b/specs/CH11.xml
@@ -463,8 +463,8 @@ is a convenience macro that calls
<xref linkend='XtMalloc' xrefstyle='select: title'/>
with the following arguments specified:
</para>
-<literallayout >
-((type *) XtMalloc((unsigned) sizeof(type)))
+<literallayout>
+<code>((type *) XtMalloc((unsigned) sizeof(type)))</code>
</literallayout>
<para>
The storage allocated by
@@ -510,8 +510,8 @@ is a convenience macro that calls
<xref linkend='XtMalloc' xrefstyle='select: title'/>
with the following arguments specified:
</para>
-<literallayout >
-(strcpy(XtMalloc((unsigned)strlen(str) + 1), str))
+<literallayout>
+<code>(strcpy(XtMalloc((unsigned)strlen(str) + 1), str))</code>
</literallayout>
<para>
The storage allocated by
@@ -1831,8 +1831,8 @@ The procedure pointer specified by the incremental owner to supply the
selection data to the Intrinsics is of type
<xref linkend='XtConvertSelectionIncrProc' xrefstyle='select: title'/>.
</para>
-<literallayout >
-typedef XtPointer XtRequestId;
+<literallayout>
+<code>typedef XtPointer XtRequestId;</code>
</literallayout>
<funcsynopsis id='XtConvertSelectionIncrProc'>
@@ -2324,7 +2324,7 @@ the requesting client must determine
for itself whether or not a partially completed data transfer is meaningful.
For more information about <emphasis remap='I'>selection</emphasis>,
<emphasis remap='I'>target</emphasis>, and
-<emphasis remap='I'>time</emphasis>, see
+<emphasis remap='I'>time</emphasis>, see
<olink targetdoc='icccm' targetptr='Use_of_Selection_Atoms' /> in the
<olink targetdoc='icccm' targetptr='icccm'>Inter-Client Communication Conventions Manual.</olink>
</para>
@@ -4376,11 +4376,11 @@ A string substitution is defined by a list of
<function>Substitution</function>
entries.
</para>
-<literallayout >
-typedef struct {
- char match;
- String substitution;
-} SubstitutionRec, *Substitution;
+<literallayout>
+<code>typedef struct {</code>
+<code> char match;</code>
+<code> String substitution;</code>
+<code>} SubstitutionRec, *Substitution;</code>
</literallayout>
<para>
File name evaluation is handled in an operating-system-dependent
@@ -4561,7 +4561,7 @@ Specifies the display to use to find the language for language substitutions.
</term>
<listitem>
<para></para>
-
+
</listitem>
</varlistentry>
<varlistentry>
@@ -4770,12 +4770,12 @@ must contain the following substitutions:
<!-- OK PAST HERE -->
<literallayout>
-1. %C, %N, %S, %T, %L or %C, %N, %S, %T, %l, %t, %c
-2. %C, %N, %S, %T, %l
-3. %C, %N, %S, %T
-4. %N, %S, %T, %L or %N, %S, %T, %l, %t, %c
-5. %N, %S, %T, %l
-6. %N, %S, %T
+<code>1. %C, %N, %S, %T, %L or %C, %N, %S, %T, %l, %t, %c</code>
+<code>2. %C, %N, %S, %T, %l</code>
+<code>3. %C, %N, %S, %T</code>
+<code>4. %N, %S, %T, %L or %N, %S, %T, %l, %t, %c</code>
+<code>5. %N, %S, %T, %l</code>
+<code>6. %N, %S, %T</code>
</literallayout>
<para>
@@ -4802,9 +4802,9 @@ Possible values might include ".txt", ".dat", and ".bm".
A suggested value for the default path on POSIX-based systems is
</para>
<literallayout>
- /usr/lib/X11/%L/%T/%N%C%S:/usr/lib/X11/%l/%T/%N%C%S:\
- /usr/lib/X11/%T/%N%C%S:/usr/lib/X11/%L/%T/%N%S:\
- /usr/lib/X11/%l/%T/%N%S:/usr/lib/X11/%T/%N%S
+<code> /usr/lib/X11/%L/%T/%N%C%S:/usr/lib/X11/%l/%T/%N%C%S:\</code>
+<code> /usr/lib/X11/%T/%N%C%S:/usr/lib/X11/%L/%T/%N%S:\</code>
+<code> /usr/lib/X11/%l/%T/%N%S:/usr/lib/X11/%T/%N%S</code>
</literallayout>
@@ -4829,7 +4829,7 @@ might set
to
</para>
<literallayout>
- %D:ourdir/%T/%N%C:ourdir/%T/%N
+<code> %D:ourdir/%T/%N%C:ourdir/%T/%N</code>
</literallayout>
<para>
@@ -5039,13 +5039,13 @@ The <emphasis remap='I'>call_data</emphasis> parameter in a createHook callback
cast to type
<function>XtCreateHookData</function>.
</para>
-<literallayout >
-typedef struct {
- String type;
- Widget widget;
- ArgList args;
- Cardinal num_args;
-} XtCreateHookDataRec, *XtCreateHookData;
+<literallayout>
+<code>typedef struct {</code>
+<code> String type;</code>
+<code> Widget widget;</code>
+<code> ArgList args;</code>
+<code> Cardinal num_args;</code>
+<code>} XtCreateHookDataRec, *XtCreateHookData;</code>
</literallayout>
<para>
The <emphasis remap='I'>type</emphasis> is set to
@@ -5122,13 +5122,13 @@ The <emphasis remap='I'>call_data</emphasis> parameter in a changeHook callback
be cast to type
<function>XtChangeHookData</function>.
</para>
-<literallayout >
-typedef struct {
- String type;
- Widget widget;
- XtPointer event_data;
- Cardinal num_event_data;
-} XtChangeHookDataRec, *XtChangeHookData;
+<literallayout>
+<code>typedef struct {</code>
+<code> String type;</code>
+<code> Widget widget;</code>
+<code> XtPointer event_data;</code>
+<code> Cardinal num_event_data;</code>
+<code>} XtChangeHookDataRec, *XtChangeHookData;</code>
</literallayout>
<para>
When the changeHook callbacks are called as a result of a call to
@@ -5141,12 +5141,12 @@ or
<emphasis remap='I'>event_data</emphasis> may be cast to type
<function>XtChangeHookSetValuesData</function>.
</para>
-<literallayout >
-typedef struct {
- Widget old, req;
- ArgList args;
- Cardinal num_args;
-} XtChangeHookSetValuesDataRec, *XtChangeHookSetValuesData;
+<literallayout>
+<code>typedef struct {</code>
+<code> Widget old, req;</code>
+<code> ArgList args;</code>
+<code> Cardinal num_args;</code>
+<code>} XtChangeHookSetValuesDataRec, *XtChangeHookSetValuesData;</code>
</literallayout>
<para>
The <emphasis remap='I'>old</emphasis>, <emphasis remap='I'>req</emphasis>, <emphasis remap='I'>args</emphasis>, and <emphasis remap='I'>num_args</emphasis> are the
@@ -5386,7 +5386,7 @@ itself. This is done by:
</para>
<literallayout>
- XtCallCallbacks(XtHooksOfDisplay(dpy), XtNchangeHook, call_data);
+<code> XtCallCallbacks(XtHooksOfDisplay(dpy), XtNchangeHook, call_data);</code>
</literallayout>
<para>
The XtNconfigureHook callback list is called any time the Intrinsics
@@ -5400,12 +5400,12 @@ The <emphasis remap='I'>call_data</emphasis> parameter may be cast to type
<function>XtConfigureHookData.</function>
</para>
<literallayout>
-typedef struct {
- String type;
- Widget widget;
- XtGeometryMask changeMask;
- XWindowChanges changes;
-} XtConfigureHookDataRec, *XtConfigureHookData;
+<code>typedef struct {</code>
+<code> String type;</code>
+<code> Widget widget;</code>
+<code> XtGeometryMask changeMask;</code>
+<code> XWindowChanges changes;</code>
+<code>} XtConfigureHookDataRec, *XtConfigureHookData;</code>
</literallayout>
<para>
When the configureHook callbacks are called, the <emphasis remap='I'>type</emphasis> is
@@ -5428,14 +5428,14 @@ The <emphasis remap='I'>call_data</emphasis> parameter may be cast to type
<function>XtGeometryHookData</function>.
</para>
-<literallayout >
-typedef struct {
- String type;
- Widget widget;
- XtWidgetGeometry* request;
- XtWidgetGeometry* reply;
- XtGeometryResult result;
-} XtGeometryHookDataRec, *XtGeometryHookData;
+<literallayout>
+<code>typedef struct {</code>
+<code> String type;</code>
+<code> Widget widget;</code>
+<code> XtWidgetGeometry* request;</code>
+<code> XtWidgetGeometry* reply;</code>
+<code> XtGeometryResult result;</code>
+<code>} XtGeometryHookDataRec, *XtGeometryHookData;</code>
</literallayout>
<para>
When the geometryHook callbacks are called prior to geometry negotiation,
@@ -5456,11 +5456,11 @@ The XtNdestroyHook callback list is called when a widget is destroyed.
The <emphasis remap='I'>call_data parameter</emphasis> may be cast to type
<function>XtDestroyHookData</function>.
</para>
-<literallayout >
-typedef struct {
- String type;
- Widget widget;
-} XtDestroyHookDataRec, *XtDestroyHookData;
+<literallayout>
+<code>typedef struct {</code>
+<code> String type;</code>
+<code> Widget widget;</code>
+<code>} XtDestroyHookDataRec, *XtDestroyHookData;</code>
</literallayout>
<para>
When the destroyHook callbacks are called as a result of a call to