[PATCH: libXaw 11/17] Add id attributes to funcsynopsis to allow other docs to olink to them.
Matt Dew
marcoz at osource.org
Wed Jun 1 19:34:49 PDT 2011
---
specs/AsciiSource.xml | 8 ++++----
specs/CH2.xml | 24 ++++++++++++------------
specs/Dialog.xml | 4 ++--
specs/Form.xml | 2 +-
specs/List.xml | 8 ++++----
specs/Paned.xml | 10 +++++-----
specs/Panner.xml | 2 +-
specs/Porthole.xml | 2 +-
specs/Scrollbar.xml | 6 +++---
specs/SimpleMenu.xml | 6 +++---
specs/TextFuncs.xml | 32 ++++++++++++++++----------------
specs/TextSink.xml | 20 ++++++++++----------
specs/TextSource.xml | 12 ++++++------
specs/Toggle.xml | 8 ++++----
specs/Tree.xml | 2 +-
15 files changed, 73 insertions(+), 73 deletions(-)
diff --git a/specs/AsciiSource.xml b/specs/AsciiSource.xml
index bd51f99..ba170b9 100644
--- a/specs/AsciiSource.xml
+++ b/specs/AsciiSource.xml
@@ -224,7 +224,7 @@ requested with a call to <function>XtGetValues</function>. This memory is alloc
fly, and remains valid until the next time a string needs to be allocated.
You may save memory by freeing this string as soon as you are done
with it by calling <function>XawAsciiSourceFreeString</function>.
-<funcsynopsis>
+<funcsynopsis id='xawasciisourcefreestring'>
<funcprototype>
<funcdef>void<function> XawAsciiSourceFreeString</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -257,7 +257,7 @@ the next call to <function>XtGetValues</function> occurs, or when the widget is
<!-- .LP -->
To save the changes made in the current text source into a file use
<function>XawAsciiSave</function>.
-<funcsynopsis>
+<funcsynopsis id='xawasciisave'>
<funcprototype>
<funcdef>Boolean<function> XawAsciiSave</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -289,7 +289,7 @@ only works on an AsciiSrc of type <function>XawAsciiFile</function>.
<!-- .sp 1 -->
To save the contents of the current text buffer into a named file use
<function>XawAsciiSaveAsFile</function>.
-<funcsynopsis>
+<funcsynopsis id='xawasciisaveasfile'>
<funcprototype>
<funcdef>Boolean<function> XawAsciiSaveAsFile</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -335,7 +335,7 @@ To find out if the text buffer in an AsciiSrc object has changed
since the last time it was saved with <function>XawAsciiSave</function> or queried
<!-- .IN "XawAsciiSave" "" -->
use <function>XawAsciiSourceChanged</function>.
-<funcsynopsis>
+<funcsynopsis id='xawasciisourcechanged'>
<funcprototype>
<funcdef>Boolean<function> XawAsciiSourceChanged</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
diff --git a/specs/CH2.xml b/specs/CH2.xml
index 08f0ff5..f97e978 100644
--- a/specs/CH2.xml
+++ b/specs/CH2.xml
@@ -77,7 +77,7 @@ a tree of widgets created by this application.
<!-- .IN "toolkit initialization" "" "@DEF@" -->
<!-- .IN "XtAppInitialize" "" "@DEF@" -->
<!-- .IN "fallback resources" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xtappinitialize'>
<funcprototype>
<funcdef>Widget<function> XtAppInitialize</function></funcdef>
<paramdef>XtAppContext<parameter> app_context_return</parameter></paramdef>
@@ -231,7 +231,7 @@ managed if the parent is already realized.
To allocate, initialize, and manage a widget, use
<function>XtCreateManagedWidget .</function>
<!-- .IN "XtCreateManagedWidget" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xtcreatemanagedwidget'>
<funcprototype>
<funcdef>Widget<function> XtCreateManagedWidget</function></funcdef>
<paramdef>String<parameter> name</parameter></paramdef>
@@ -675,7 +675,7 @@ for performance reasons.
Creates an X window for the widget and, if it is a composite widget,
realizes each of its managed children.
<!-- .IN "XtRealizeWidget" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xtrealizewidget'>
<funcprototype>
<funcdef>void<function> XtRealizeWidget</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -710,7 +710,7 @@ widgets, it is ready to process the events that will be delivered by the
X Server to this client. A function call that will process the
events is <function>XtAppMainLoop</function>.
<!-- .IN "XtAppMainLoop" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xtappmainloop'>
<funcprototype>
<funcdef>void<function> XtAppMainLoop</function></funcdef>
<paramdef>XtAppContext<parameter> app_context</parameter></paramdef>
@@ -792,7 +792,7 @@ widget windows are mapped (made viewable) automatically by
<!-- .IN "XtSetMappedWhenManaged" "" "@DEF@" -->
<!-- .IN "XtMapWidget" "" "" -->
<!-- .IN "XtRealizeWidget" "" "" -->
-<funcsynopsis>
+<funcsynopsis id='xtsetmappedwhenmanaged'>
<funcprototype>
<funcdef>void<function> XtSetMappedWhenManaged</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -837,7 +837,7 @@ The definition for
<function>XtMapWidget</function>
is:
<!-- .IN "XtMapWidget" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xtmapwidget'>
<funcprototype>
<funcdef>void<function> XtMapWidget</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -868,7 +868,7 @@ parent can avoid wasteful duplication of geometry processing and the
associated ``screen flash''.
<!-- .IN "XtManageChildren" "" "@DEF@" -->
<!-- .IN "XtCreateWidget" "" "" -->
-<funcsynopsis>
+<funcsynopsis id='xtmanagechildren'>
<funcprototype>
<funcdef>void<function> XtManageChildren</function></funcdef>
<paramdef>WidgetList<parameter> children</parameter></paramdef>
@@ -918,7 +918,7 @@ see the <emphasis remap='I'>X Toolkit Intrinsics - C Language Interface</emphasi
To destroy a widget instance of any type, use
<function>XtDestroyWidget</function>
<!-- .IN "XtDestroyWidget" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xtdestroywidget'>
<funcprototype>
<funcdef>void<function> XtDestroyWidget</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -957,7 +957,7 @@ To retrieve the current value of a resource attribute associated
with a widget instance, use
<function>XtGetValues .</function>
<!-- .IN "XtGetValues" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xtgetvalues'>
<funcprototype>
<funcdef>void<function> XtGetValues</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -1018,7 +1018,7 @@ To modify the current value of a resource attribute associated with a
widget instance, use
<function>XtSetValues .</function>
<!-- .IN "XtSetValues" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xtsetvalues'>
<funcprototype>
<funcdef>void<function> XtSetValues</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -1100,7 +1100,7 @@ Widgets can communicate changes in their state to their clients
by means of a callback facility.
The format for a client's callback handler is:
<!-- .IN "CallbackProc" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='callbackproc'>
<funcprototype>
<funcdef>void<function> CallbackProc</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -1194,7 +1194,7 @@ The second method for registering callbacks is to use
<function>XtAddCallback</function>
after the widget has been created.
<!-- .IN "XtAddCallback" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xtaddcallback'>
<funcprototype>
<funcdef>void<function> XtAddCallback</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
diff --git a/specs/Dialog.xml b/specs/Dialog.xml
index f77006c..ab09dba 100644
--- a/specs/Dialog.xml
+++ b/specs/Dialog.xml
@@ -580,7 +580,7 @@ available through the Dialog widget itself.
To return the character string in the text field, use
<!-- .PN XawDialogGetValueString . -->
<!-- .IN "XawDialogGetValueString" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xawdialoggetvaluestring'>
<funcprototype>
<funcdef>String<function> XawDialogGetValueString</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -617,7 +617,7 @@ the function <function>XawAsciiSourceFreeString</function>.
To add a new button to the Dialog widget use
<function>XawDialogAddButton</function>.
<!-- .IN "XawDialogAddButton" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xawdialogaddbutton'>
<funcprototype>
<funcdef>void<function> XawDialogAddButton</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
diff --git a/specs/Form.xml b/specs/Form.xml
index 13cc36a..cd41ef9 100644
--- a/specs/Form.xml
+++ b/specs/Form.xml
@@ -488,7 +488,7 @@ To force or defer a re-layout of the Form, use
<!-- .PN XawFormDoLayout . -->
<!-- .IN "Form widget" "re-layout" -->
<!-- .IN "XawFormDoLayout" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xawformdolayout'>
<funcprototype>
<funcdef>void<function> XawFormDoLayout</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
diff --git a/specs/List.xml b/specs/List.xml
index 0bad43d..fb5be8b 100644
--- a/specs/List.xml
+++ b/specs/List.xml
@@ -652,7 +652,7 @@ operating systems, and had to be changed.
To change the list that is displayed, use
<function>XawListChange .</function>
<!-- .IN "XawListChange" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xawlistchange'>
<funcprototype>
<funcdef>void<function> XawListChange</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -738,7 +738,7 @@ has been changed again with this function or with <function>XtSetValues</functio
To highlight an item in the list, use
<function>XawListHighlight .</function>
<!-- .IN "XawListHighlight" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xawlisthighlight'>
<funcprototype>
<funcdef>void<function> XawListHighlight</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -786,7 +786,7 @@ the highlighted item is unhighlighted before the new item is highlighted.
To unhighlight the currently highlighted item in the list, use
<function>XawListUnhighlight .</function>
<!-- .IN "XawListUnhighlight" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xawlistunhighlight'>
<funcprototype>
<funcdef>void<function> XawListUnhighlight</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -814,7 +814,7 @@ Specifies the List widget.
To retrieve the list element that is currently <emphasis remap='I'>set</emphasis>, use
<function>XawListShowCurrent .</function>
<!-- .IN "XawListShowCurrent" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xawlistshowcurrent'>
<funcprototype>
<funcdef>XawListReturnStruct<function> *XawListShowCurrent</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
diff --git a/specs/Paned.xml b/specs/Paned.xml
index 90c3809..28b346c 100644
--- a/specs/Paned.xml
+++ b/specs/Paned.xml
@@ -980,7 +980,7 @@ To enable or disable a child's request for pane resizing,
use
<function>XawPanedAllowResize :</function>
<!-- .IN "XawPanedAllowResize" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xawpanedallowresize'>
<funcprototype>
<funcdef>void<function> XawPanedAllowResize</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -1029,7 +1029,7 @@ constraint resource for the child.
To change the minimum and maximum height settings for a pane, use
<function>XawPanedSetMinMax :</function>
<!-- .IN "XawPanedSetMinMax" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xawpanedsetminmax'>
<funcprototype>
<funcdef>void<function> XawPanedSetMinMax</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -1082,7 +1082,7 @@ constraint resources for the child.
To retrieve the minimum and maximum height settings for a pane, use
<function>XawPanedGetMinMax :</function>
<!-- .IN "XawPanedGetMinMax" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xawpanedgetminmax'>
<funcprototype>
<funcdef>void<function> XawPanedGetMinMax</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -1137,7 +1137,7 @@ To enable or disable automatic recalculation of pane sizes and positions,
use
<function>XawPanedSetRefigureMode :</function>
<!-- .IN "XawPanedSetRefigureMode" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xawpanedsetrefiguremode'>
<funcprototype>
<funcdef>void<function> XawPanedSetRefigureMode</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -1182,7 +1182,7 @@ relayout until after all changes have been made.
To retrieve the number of panes in a paned widget use
<function>XawPanedGetNumSub</function>:
<!-- .IN "XawPanedGetNumSub" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xawpanedgetnumsub'>
<funcprototype>
<funcdef>int<function> XawPanedGetNumSub</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
diff --git a/specs/Panner.xml b/specs/Panner.xml
index a04bb1a..7a638c5 100644
--- a/specs/Panner.xml
+++ b/specs/Panner.xml
@@ -688,7 +688,7 @@ The default bindings for Panner are:
The functions registered on the <function>reportCallback</function> list are invoked by
the <function>notify</function> action as follows:
<!-- .IN "ReportProc" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='panner_reportproc'>
<funcprototype>
<funcdef>void<function> ReportProc</function></funcdef>
<paramdef>Widget<parameter> panner</parameter></paramdef>
diff --git a/specs/Porthole.xml b/specs/Porthole.xml
index beda434..a0a87c1 100644
--- a/specs/Porthole.xml
+++ b/specs/Porthole.xml
@@ -262,7 +262,7 @@ Panner widget.
The functions registered on the <function>reportCallback</function> list are invoked whenever
the managed child changes size or position:
<!-- .IN "ReportProc" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='porthole_reportproc'>
<funcprototype>
<funcdef>void<function> ReportProc</function></funcdef>
<paramdef>Widget<parameter> porthole</parameter></paramdef>
diff --git a/specs/Scrollbar.xml b/specs/Scrollbar.xml
index 87f6d68..5b22cba 100644
--- a/specs/Scrollbar.xml
+++ b/specs/Scrollbar.xml
@@ -663,7 +663,7 @@ The procedural interface for these functions is described here.
The calling interface to the <function>scrollProc</function> callback procedure is:
<!-- .IN "ScrollProc" "" "@DEF@" -->
</para>
-<funcsynopsis>
+<funcsynopsis id='scrollproc'>
<funcprototype>
<funcdef>void<function> ScrollProc</function></funcdef>
<paramdef>Widget<parameter> scrollbar</parameter></paramdef>
@@ -720,7 +720,7 @@ be greater than the length of the Scrollbar.
The calling interface to the <function>jumpProc</function> callback procedure is:
</para>
<!-- .IN "jumpProc" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='jumpproc'>
<funcprototype>
<funcdef>void<function> JumpProc</function></funcdef>
<paramdef>Widget<parameter> scrollbar</parameter></paramdef>
@@ -792,7 +792,7 @@ To set the position and length of a Scrollbar thumb, use
<!-- .PN XawScrollbarSetThumb . -->
<!-- .IN "XawScrollbarSetThumb" "" "@DEF@" -->
</para>
-<funcsynopsis>
+<funcsynopsis id='xawscrollbarsetthumb'>
<funcprototype>
<funcdef>void<function> XawScrollbarSetThumb</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
diff --git a/specs/SimpleMenu.xml b/specs/SimpleMenu.xml
index 84ba039..0e039b1 100644
--- a/specs/SimpleMenu.xml
+++ b/specs/SimpleMenu.xml
@@ -691,7 +691,7 @@ application uses dynamic menu creation. In these cases an application will
need to register this global action routine by calling
<function>XawSimpleMenuAddGlobalActions</function>:
<!-- .IN "XawSimpleMenuAddGlobalActions" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xawsimplemenuaddglobalactions'>
<funcprototype>
<funcdef>void<function> XawSimpleMenuAddGlobalActions</function></funcdef>
<paramdef>XtAppContext<parameter> app_con</parameter></paramdef>
@@ -725,7 +725,7 @@ is realized.
To get the currently highlighted menu entry use
<function>XawSimpleMenuGetActiveEntry</function>:
<!-- .IN "XawSimpleMenuGetActiveEntry" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xawsimplemenugetactiveentry'>
<funcprototype>
<funcdef>Widget<function> XawSimpleMenuGetActiveEntry</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -757,7 +757,7 @@ To clear the SimpleMenu widget's internal information about the
currently highlighted menu entry use
<function>XawSimpleMenuClearActiveEntry</function>:
<!-- .IN "XawSimpleMenuClearActiveEntry" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xawsimplemenuclearactiveentry'>
<funcprototype>
<funcdef>Widget<function> XawSimpleMenuClearActiveEntry</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
diff --git a/specs/TextFuncs.xml b/specs/TextFuncs.xml
index 0d2ae81..9057c33 100644
--- a/specs/TextFuncs.xml
+++ b/specs/TextFuncs.xml
@@ -109,7 +109,7 @@ deprecated and will eventually be removed from the implementation.
To select a piece of text, use
<function>XawTextSetSelection : </function>
<!-- .IN "XawTextSetSelection" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xawtextsetselection'>
<funcprototype>
<funcdef>void<function> XawTextSetSelection</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -168,7 +168,7 @@ effect on <function>CUT_BUFFER0</function>.
To unhighlight previously highlighted text in a widget, use
<function>XawTextUnsetSelection</function>:
<!-- .IN "XawTextUnsetSelection" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xawtextunsetselection'>
<funcprototype>
<funcdef>void<function> XawTextUnsetSelection</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -196,7 +196,7 @@ Specifies the Text widget.
To retrieve the text that has been selected by this
text widget use <function>XawTextGetSelectionPos</function>:
<!-- .IN "XawTextGetSelectionPos" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xawtextgetselectionpos'>
<funcprototype>
<funcdef>void<function> XawTextGetSelectionPos</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -249,7 +249,7 @@ If the returned values are equal, no text is currently selected.
<!-- .LP -->
To modify the text in an editable Text widget use <function>XawTextReplace</function>:
<!-- .IN "XawTextReplace" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xawtextreplace'>
<funcprototype>
<funcdef>int<function> XawTextReplace</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -373,7 +373,7 @@ text is inserted after <emphasis remap='I'>start</emphasis>.
To search for a string in the Text widget, use
<function>XawTextSearch</function>:
<!-- .IN "XawTextSearch" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xawtextsearch'>
<funcprototype>
<funcdef>XawTextPosition<function> XawTextSearch</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -433,7 +433,7 @@ found then the value <function>XawTextSearchError</function> is returned.
<!-- .LP -->
To redisplay a range of characters, use <function>XawTextInvalidate</function>:
<!-- .IN "XawTextInvalidate" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xawtextinvalidate'>
<funcprototype>
<funcdef>void<function> XawTextInvalidate</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -487,7 +487,7 @@ enabled.
<!-- .sp 1 -->
To enable redisplay, use <function>XawTextEnableRedisplay</function>:
<!-- .IN "XawTextEnableRedisplay" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xawtextenableredisplay'>
<funcprototype>
<funcdef>void<function> XawTextEnableRedisplay</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -519,7 +519,7 @@ was called and allows future changes to be reflected immediately.
To disable redisplay while making several changes, use
<function>XawTextDisableRedisplay</function>.
<!-- .IN "XawTextDisableRedisplay" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xawtextdisableredisplay'>
<funcprototype>
<funcdef>void<function> XawTextDisableRedisplay</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -550,7 +550,7 @@ is called.
<!-- .sp 1 -->
To display batched updates, use <function>XawTextDisplay</function>:
<!-- .IN "XawTextDisplay" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xawtextdisplay'>
<funcprototype>
<funcdef>void<function> XawTextDisplay</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -584,7 +584,7 @@ To obtain the character position of the left-most character on the
first line displayed in the widget (the value of the
<function>displayPosition</function> resource), use <function>XawTextTopPosition</function>.
<!-- .IN "XawTextTopPosition" "" @DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xawtexttopposition'>
<funcprototype>
<funcdef>XawTextPosition<function> XawTextTopPosition</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -610,7 +610,7 @@ Specifies the Text widget.
To assign a new selection array to a text widget use
<function>XawTextSetSelectionArray</function>:
<!-- .IN "XawTextSetSelectionArray" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xawtextsetselectionarray'>
<funcprototype>
<funcdef>void<function> XawTextSetSelectionArray</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -653,7 +653,7 @@ Calling this function is equivalent to setting the value of the
To move the insertion point to the specified source position, use
<function>XawTextSetInsertionPoint</function>:
<!-- .IN "XawTextSetInsertionPoint" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xawtextsetinsertionpoint'>
<funcprototype>
<funcdef>void<function> XawTextSetInsertionPoint</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -697,7 +697,7 @@ equivalent to setting the <function>insertPosition</function> resource.
To obtain the current position of the insertion point, use
<function>XawTextGetInsertionPoint</function>:
<!-- .IN "XawTextGetInsertionPoint" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xawtextgetinsertionpoint'>
<funcprototype>
<funcdef>XawTextPosition<function> XawTextGetInsertionPoint</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -729,7 +729,7 @@ The result is equivalent to retrieving the value of the
To replace the text source in the specified widget, use
<function>XawTextSetSource</function>:
<!-- .IN "XawTextSetSource" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xawtextsetsource'>
<funcprototype>
<funcdef>void<function> XawTextSetSource</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -783,7 +783,7 @@ A display update will be performed if redisplay is enabled.
To obtain the current text source for the specified widget, use
<function>XawTextGetSource</function>:
<!-- .IN "XawTextGetSource" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xawtextgetsource'>
<funcprototype>
<funcdef>Widget<function> XawTextGetSource</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -814,7 +814,7 @@ using.
To enable and disable the insertion point, use
<function>XawTextDisplayCaret</function>:
<!-- .IN "XawTextDisplayCaret" "" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='xawtextdisplaycaret'>
<funcprototype>
<funcdef>void<function> XawTextDisplayCaret</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
diff --git a/specs/TextSink.xml b/specs/TextSink.xml
index bafe557..04074dc 100644
--- a/specs/TextSink.xml
+++ b/specs/TextSink.xml
@@ -192,7 +192,7 @@ to be used as a sink by itself.
To display a section of the text buffer contained in the text source
use the function <function>DisplayText</function>:
<!-- .IN "TextSink object" "DisplayText" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='displaytext'>
<funcprototype>
<funcdef>void<function> DisplayText</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -283,7 +283,7 @@ be displayed.
The function that controls the display of the text cursor is
<function>InsertCursor</function>. This function will be called whenever the text
widget desires to change the state of, or move the insert point.
-<funcsynopsis>
+<funcsynopsis id='insertcursor'>
<funcprototype>
<funcdef>void<function> InsertCursor</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -352,7 +352,7 @@ This behavior will be used if you specify
<function>XtInheritClearToBackground</function> for this method.
<!-- .IN "XtInheritClearToBackground" "" -->
<!-- .IN "TextSink object" "ClearToBackground" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='cleartobackground'>
<funcprototype>
<funcdef>void<function> ClearToBackground</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -426,7 +426,7 @@ Specifies the height, in pixels, of the Region to clear.
To find the text character position that will be rendered at a given x
location the Text widget uses the function <function>FindPosition</function>:
<!-- .IN "TextSink object" "FindPosition" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='findposition'>
<funcprototype>
<funcdef>void<function> FindPosition</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -540,7 +540,7 @@ widget will only call it one line at a time.
Another means of finding a text position is provided by the <function>Resolve</function>
function:
<!-- .IN "TextSink object" "Resolve" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='resolve'>
<funcprototype>
<funcdef>void<function> Resolve</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -625,7 +625,7 @@ functionality.
To find the distance in pixels between two text positions on the same
line use the function <function>FindDistance</function>.
<!-- .IN "TextSink object" "FindDistance" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='finddistance'>
<funcprototype>
<funcdef>void<function> FindDistance</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -731,7 +731,7 @@ widget, use the function <function>MaxLines</function>. The TextSink already de
this function to compute the maximum number of lines by using the height
of <function>font</function>.
<!-- .IN "TextSink object" "MaxLines" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='maxlines'>
<funcprototype>
<funcdef>int<function> MaxLines</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -774,7 +774,7 @@ the function <function>MaxHeight</function>. The TextSink already defines this
function to compute the maximum height of the window by using the
height of <function>font</function>.
<!-- .IN "TextSink object" "MaxHeight" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='maxheight'>
<funcprototype>
<funcdef>int<function> MaxHeight</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -819,7 +819,7 @@ The TextSink already defines this function to set the tab x location in
pixels to be the number of characters times the figure width of
<function>font</function>.
<!-- .IN "TextSink object" "SetTabs" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='settabs'>
<funcprototype>
<funcdef>void<function> SetTabs</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -873,7 +873,7 @@ to it into whatever internal positions the TextSink uses for tab placement.
To get the size and location of the insert point use the
<function>GetCursorBounds</function> function.
<!-- .IN "TextSink object" "GetCursorBounds" "@DEF@" -->
-<funcsynopsis>
+<funcsynopsis id='getcursorbounds'>
<funcprototype>
<funcdef>void<function> GetCursorBounds</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
diff --git a/specs/TextSource.xml b/specs/TextSource.xml
index 51b9ae0..69c20a5 100644
--- a/specs/TextSource.xml
+++ b/specs/TextSource.xml
@@ -140,7 +140,7 @@ used as a source by itself and bad things will probably happen.
To read the text in a text source use the <function>Read</function> function:
<!-- .IN "TextSrc object" "Read" "@DEF@" -->
</para>
-<funcsynopsis>
+<funcsynopsis id='read'>
<funcprototype>
<funcdef>XawTextPosition<function> Read</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -210,7 +210,7 @@ portion of the text buffer is fully retrieved.
To replace or edit the text in a text buffer use the <function>Replace</function> function:
</para>
-<funcsynopsis>
+<funcsynopsis id='replace'>
<funcprototype>
<funcdef>XawTextPosition<function> Replace</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -310,7 +310,7 @@ To search the text source for one of the predefined boundary types use
the <function>Scan</function> function:
</para>
-<funcsynopsis>
+<funcsynopsis id='scan'>
<funcprototype>
<funcdef>XawTextPosition<function> Scan</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -396,7 +396,7 @@ position of that end.
To search for a particular string use the <function>Search</function> function.
</para>
-<funcsynopsis>
+<funcsynopsis id='search'>
<funcprototype>
<funcdef>XawTextPosition<function> Search</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -466,7 +466,7 @@ the <function>ConvertSelection</function> function, to attempt the selection
conversion.
</para>
-<funcsynopsis>
+<funcsynopsis id='convertselections'>
<funcprototype>
<funcdef>Boolean<function> ConvertSelections</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
@@ -571,7 +571,7 @@ If the source needs to know when the text selection is modified it
should define a <function>SetSelection</function> procedure:
</para>
-<funcsynopsis>
+<funcsynopsis id='setselection'>
<funcprototype>
<funcdef>void<function> SetSelection</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
diff --git a/specs/Toggle.xml b/specs/Toggle.xml
index d5c2398..5be106c 100644
--- a/specs/Toggle.xml
+++ b/specs/Toggle.xml
@@ -608,7 +608,7 @@ the Toggle to a radio group, or remove the Toggle from a radio group, use
<function>XawToggleChangeRadioGroup</function>.
</para>
-<funcsynopsis>
+<funcsynopsis id='xawtogglechangeradiogroup'>
<funcprototype>
<funcdef>void<function> XawToggleChangeRadioGroup</function></funcdef>
<paramdef>Widgetw,<parameter> radio_group</parameter></paramdef>
@@ -654,7 +654,7 @@ To find the currently selected Toggle in a radio group of Toggle widgets
use <function>XawToggleGetCurrent</function>.
</para>
-<funcsynopsis>
+<funcsynopsis id='xawtogglegetcurrent'>
<funcprototype>
<funcdef>XtPointer<function> XawToggleGetCurrent</function></funcdef>
<paramdef>XtPointer<parameter> XawToggleGetCurrent(radio_group)</parameter></paramdef>
@@ -690,7 +690,7 @@ To change the Toggle that is currently set in a radio group use
<function>XawToggleSetCurrent</function>.
</para>
-<funcsynopsis>
+<funcsynopsis id='xawtogglesetcurrent'>
<funcprototype>
<funcdef>void<function> XawToggleSetCurrent</function></funcdef>
<paramdef>voidXawToggleSetCurrent(radio_group,<parameter> radio_data)</parameter></paramdef>
@@ -743,7 +743,7 @@ To unset all Toggle widgets in a radio group use
<function>XawToggleUnsetCurrent</function>.
</para>
-<funcsynopsis>
+<funcsynopsis id='xawtoggleunsetcurrent'>
<funcprototype>
<funcdef>void<function> XawToggleUnsetCurrent</function></funcdef>
<paramdef>void<parameter> XawToggleUnsetCurrent(radio_group)</parameter></paramdef>
diff --git a/specs/Tree.xml b/specs/Tree.xml
index bb51e80..1d68775 100644
--- a/specs/Tree.xml
+++ b/specs/Tree.xml
@@ -383,7 +383,7 @@ to False and then use the
routine to arrange the children.
</para>
-<funcsynopsis>
+<funcsynopsis id='xawtreeforcelayout'>
<funcprototype>
<funcdef>void<function> XawTreeForceLayout</function></funcdef>
<paramdef>Widget<parameter> w</parameter></paramdef>
--
1.7.1
More information about the xorg-devel
mailing list