1XmDataFieldPaste(library call) XmDataFieldPaste(library call)
2
3
4
6 XmDataFieldPaste — A DataField function that inserts the clipboard
7 selection
8
10 #include <Xm/DataF.h>
11 Boolean XmDataFieldPaste(
12 Widget widget);
13
15 XmDataFieldPaste inserts the clipboard selection at the insertion cur‐
16 sor of the destination widget. If XmNpendingDelete is True and the
17 insertion cursor is inside the current selection, the clipboard selec‐
18 tion replaces the selected text.
19
20 This routine calls the widget's XmNvalueChangedCallback and verifica‐
21 tion callbacks, either XmNmodifyVerifyCallback or XmNmodifyVerifyCall‐
22 backWcs, or both. If both verification callback lists are registered,
23 the procedures of the XmNmodifyVerifyCallback list are executed first
24 and the resulting data is passed to the XmNmodifyVerifyCallbackWcs
25 callbacks.
26
27 This routine calls the widget's XmNdestinationCallback procedures with
28 the selection member of the XmDestinationCallbackStruct set to CLIP‐
29 BOARD and with the operation member set to XmCOPY. If the XmNcursorPo‐
30 sition resource is greater than or is the same value as the position
31 where the selection is to be inserted, the XmNmotionVerifyCallback is
32 called.
33
34 widget Specifies the DataField widget ID.
35
36 For a complete definition of DataField and its associated resources,
37 see XmDataField(3).
38
40 This function returns False if no transfers take place. Otherwise, it
41 returns True.
42
44 XmDataField(3).
45
46
47
48 XmDataFieldPaste(library call)