1XmTextGetSource(library call)                    XmTextGetSource(library call)
2
3
4

NAME

6       XmTextGetSource  — A Text function that accesses the source of the wid‐
7       get
8

SYNOPSIS

10       #include <Xm/Text.h>
11       XmTextSource XmTextGetSource(
12       Widget widget);
13

DESCRIPTION

15       XmTextGetSource accesses the source of the Text  widget.  Text  widgets
16       can share sources of text so that editing in one widget is reflected in
17       another. This function accesses the source of one widget so that it can
18       be  made  the  source  of another widget, using the function XmTextSet‐
19       Source(3).
20
21       Setting a new text source destroys the old text source if no other Text
22       widgets  are  using  that source.  To replace a text source but keep it
23       for later use, create an unmanaged Text widget and set  its  source  to
24       the text source you want to keep.
25
26       widget    Specifies the Text widget ID
27
28       For  a  complete  definition  of Text and its associated resources, see
29       XmText(3).
30

RETURN

32       Returns an XmTextSource value that represents the source  of  the  Text
33       widget.
34
36       XmText(3).
37
38
39
40                                                 XmTextGetSource(library call)
Impressum