1XmTextFieldCopy(library call) XmTextFieldCopy(library call)
2
3
4
6 XmTextFieldCopy — A TextField function that copies the primary selec‐
7 tion to the clipboard
8
10 #include <Xm/TextF.h>
11 Boolean XmTextFieldCopy(
12 Widget widget,
13 Time time);
14
16 XmTextFieldCopy 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 TextField 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 TextField and its associated resources,
29 see XmTextField(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 XmTextField(3).
39
40
41
42 XmTextFieldCopy(library call)