XmTextGetSource(X3mot)
XmTextGetSource --
a Text function that accesses the source of the widget
Synopsis
#include <Xm/Text.h>
XmTextSource XmTextGetSource (widget)
Widget widget;
Description
XmTextGetSource accesses the source of the Text widget. Text
widgets can share sources of text so that editing in one widget is
reflected in another. This function accesses the source of one widget
so that it can be made the source of another widget, using the function
XmTextSetSource(X3mot).
Setting a new text source destroys the old text source if no other Text
widgets are using that source.
To replace a text source but keep it for later use, create an unmanaged
Text widget and set its source to the text source you want to keep.
widget-
Specifies the Text widget ID
For a complete definition of Text and its associated resources, see
XmText(X3mot).
Return values
Returns an XmTextSource value that represents the source of the Text
widget.
References
XmText(X3mot)
25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004