Specifications

Athena Widget Set libXaw 1.0.7
the current window. The scrollbar will disappear when the text once
again fits within the window.
selectTypes Specifies the selection type array that is used when multi-click is acti-
vated (see Text Selections for Application Programmers for details).
This resource is used in place, and must not be freed until the widget is
destroyed. There is no type converter registered for this resource, so it
may not be set from the resource manager.
sensitive Whether or not the toolkit should pass user events to this widget. The
widget will not get input events if either ancestorSensitive or sensitive is
False.
textSink
textSource These are the TextSink or TextSource objects used by this widget. When
using the Textwidget these MUST be set by the application programmer.
translations The ev e nt bindings associated with this widget.
wrap When the text in anyone line is wider than the windowthere are several
possible actions. This resource allows the user to decide what will hap-
pen. The accepted values for this resource are XawtextWrapNever,
XawtextWrapLine,and XawtextWrapWord.With Xawtex-
tWrapLine all text that is beyond the right edge of the windowwill be
displayed on the next line. With XawtextWrapWord the same action
occurs but the text is broken at a word boundary if possible. If no wrap-
ping is enabled then the text will extend offthe edge of the window, and
asmall rectangle will be painted in the right margin to alert the user that
this line is too long. Aconverter is registered for this resource that will
convert the following strings: never, word, and line.
unrealizeCallback Alist of callback functions which will be executed when the Textwidget
is unrealized.
x
yThe location of the upper left outside corner of this widget in its parent.
5.10. TextSrcObject
Application Header file <X11/Xaw/TextSrc.h>
Class Header file <X11/Xaw/TextSrcP.h>
Class textSrcObjectClass
Class Name Te x tSrc
Superclass Object
The TextSrc object is the root object for all text sources. Anynew textsource objects should be
subclasses of the TextSrc Object. The TextSrc Class contains all methods the Textwidget expects
atextsource to export.
Since all text sources will have some resources in common the TextSrc defines a fewnew
resources.
5.10.1. Resources
When creating an TextSrc object instance, the following resources are retrievedfrom the argu-
ment list or from the resource database:
Name Class Type Notes Default Value
destroyCallback Callback XtCallbackList NULL
99