1XmDataFieldGetSelection(library call) XmDataFieldGetSelection(library call)
2
3
4
6 XmDataFieldGetSelection — A DataField function that retrieves the value
7 of the primary selection
8
10 #include <Xm/DataF.h>
11 char * XmDataFieldGetSelection(
12 Widget widget);
13
15 XmDataFieldGetSelection 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 DataField widget ID
21
22 For a complete definition of DataField and its associated resources,
23 see XmDataField(3).
24
26 Returns a character pointer to the string that is associated with the
27 primary selection.
28
30 XmDataField(3) and XmDataFieldGetSelectionWcs(3).
31
32
33
34 XmDataFieldGetSelection(library call)