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