Specifications
Athena Widget Set libXaw 1.0.7
void XawTextEnableRedisplay(w)
Widget w;
w Specifies the Textwidget.
The XawTextEnableRedisplay function flushes anychanges due to batched updates when Xaw-
TextDisableRedisplay wascalled and allows future changes to be reflected immediately.
To disable redisplay while making several changes, use XawTextDisableRedisplay.
void XawTextDisableRedisplay(w)
Widget w;
w Specifies the Textwidget.
The XawTextDisableRedisplay function causes all changes to be batched until either Xaw-
TextDisplay or XawTextEnableRedisplay is called.
To display batched updates, use XawTextDisplay:
void XawTextDisplay(w)
Widget w;
w Specifies the Textwidget.
The XawTextDisplay function forces anyaccumulated updates to be displayed.
5.4.7. Resources Convenience Routines
To obtain the character position of the left-most character on the first line displayed in the widget
(the value of the displayPosition resource), use XawTextTopPosition.
XawTextPosition XawTextTopPosition(w)
Widget w;
w Specifies the Textwidget.
To assign a newselection array to a text widget use XawTextSetSelectionArray:
void XawTextSetSelectionArray(w, sarray)
Widget w;
XawTextSelectType * sarray;
w Specifies the Textwidget.
sarray Specifies a selection array as defined in the section called Text Selections for
Application Programmers.
Calling this function is equivalent to setting the value of the selectionTypes resource.
To move the insertion point to the specified source position, use XawTextSetInsertionPoint:
void XawTextSetInsertionPoint(w, position)
Widget w;
XawTextPosition position;
w Specifies the Textwidget.
position Specifies the newposition for the insertion point.
See section 5.4 for a description of XawTextPosition.The text will be scrolled vertically if nec-
essary to makethe line containing the insertion point visible. Calling this function is equivalent
to setting the insertPosition resource.
85