1XmTextGetSelection(library call) XmTextGetSelection(library call)
2
3
4
6 XmTextGetSelection — A Text function that retrieves the value of the
7 primary selection
8
10 #include <Xm/Text.h>
11 char * XmTextGetSelection(
12 Widget widget);
13
15 XmTextGetSelection retrieves the value of the primary selection. It
16 returns a NULL pointer if no text is selected in the widget. The appli‐
17 cation is responsible for freeing the storage associated with the
18 string by calling XtFree.
19
20 widget Specifies the Text widget ID
21
22 For a complete definition of Text and its associated resources, see
23 XmText(3).
24
26 Returns a character pointer to the string that is associated with the
27 primary selection.
28
30 XmText(3) and XmTextGetSelectionWcs(3).
31
32
33
34 XmTextGetSelection(library call)