1XmTextCopyLink(library call) XmTextCopyLink(library call)
2
3
4
6 XmTextCopyLink — A Text function that copies a link to the primary
7 selection to the clipboard
8
10 #include <Xm/Text.h>
11 Boolean XmTextCopyLink(
12 Widget widget,
13 Time time);
14
16 XmTextCopyLink copies a link to the primary selected text to the clip‐
17 board. This routine calls the XmNconvertCallback procedures, possibly
18 multiple times, with the selection member of the XmConvertCallback‐
19 Struct set to CLIPBOARD and with the parm member set to XmLINK. The
20 Text widget itself does not copy any links; XmNconvertCallback proce‐
21 dures are responsible for copying the link to the clipboard and for
22 taking any related actions.
23
24 widget Specifies the Text widget ID.
25
26 time Specifies the time of the transfer. This should be the time
27 of the event which triggered this request. One source of a
28 valid time stamp is the function XtLastTimestampProcessed.
29
30 For a complete definition of Text and its associated resources, see
31 XmText(3).
32
34 This function returns False if the primary selection is NULL, if the
35 widget does not own the primary selection, if the function is unable to
36 gain ownership of the clipboard selection, or if no data is placed on
37 the clipboard. Otherwise, it returns True.
38
40 XmText(3).
41
42
43
44 XmTextCopyLink(library call)