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