1XmTextCopy(library call) XmTextCopy(library call)
2
3
4
6 XmTextCopy — A Text function that copies the primary selection to the
7 clipboard
8
10 #include <Xm/Text.h>
11 Boolean XmTextCopy(
12 Widget widget,
13 Time time);
14
16 XmTextCopy 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 Text widget ID.
23
24 time Specifies the server time at which the selection value is to
25 be modified. This should be the time of the event which trig‐
26 gered this request. One source of a valid time stamp is the
27 function XtLastTimestampProcessed().
28
29 For a complete definition of Text and its associated resources, see
30 XmText(3).
31
33 This function returns False if the primary selection is NULL, if the
34 widget does not own the primary selection, if the function is unable to
35 gain ownership of the clipboard selection, or if no data is placed on
36 the clipboard. Otherwise, it returns True.
37
39 XmText(3).
40
41
42
43 XmTextCopy(library call)