1XmDataFieldCopy(library call) XmDataFieldCopy(library call)
2
3
4
6 XmDataFieldCopy — A DataField function that copies the primary selec‐
7 tion to the clipboard
8
10 #include <Xm/DataF.h>
11 Boolean XmDataFieldCopy(
12 Widget widget,
13 Time time);
14
16 XmDataFieldCopy copies the primary selected text to the clipboard.
17
18 This routine calls the XmNconvertCallback procedures, possibly multiple
19 times, with the selection member of the XmConvertCallbackStruct set to
20 CLIPBOARD and with the parm member set to XmCOPY.
21
22 widget Specifies the DataField widget ID.
23
24 time Specifies the time at which the selection value is to be mod‐
25 ified. This should be the time of the event that triggered
26 this request.
27
28 For a complete definition of DataField and its associated resources,
29 see XmDataField(3).
30
32 This function returns False if the primary selection is NULL, if the
33 widget does not own the primary selection, if the function is unable to
34 gain ownership of the clipboard selection, or if no data is placed on
35 the clipboard. Otherwise, it returns True.
36
38 XmDataField(3).
39
40
41
42 XmDataFieldCopy(library call)