1XmTextFieldCopyLink(library call) XmTextFieldCopyLink(library call)
2
3
4
6 XmTextFieldCopyLink — A TextField function that copies a link to the
7 primary selection to the clipboard
8
10 #include <Xm/TextF.h>
11 Boolean XmTextFieldCopyLink(
12 Widget widget,
13 Time time);
14
16 XmTextFieldCopyLink copies a link to the primary selected text to the
17 clipboard. This routine calls the XmNconvertCallback procedures, pos‐
18 sibly multiple times, with the selection member of the XmConvertCall‐
19 backStruct set to CLIPBOARD and with the parm member set to XmLINK.
20 The TextField widget itself does not copy any links; XmNconvertCallback
21 procedures are responsible for copying the link to the clipboard and
22 for taking any related actions.
23
24 widget Specifies the TextField 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 TextField and its associated resources,
31 see XmTextField(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 XmTextField(3).
41
42
43
44 XmTextFieldCopyLink(library call)