1XmClipboardUndoCopy(library call) XmClipboardUndoCopy(library call)
2
3
4
6 XmClipboardUndoCopy — A clipboard function that deletes the last item
7 placed on the clipboard
8
10 #include <Xm/CutPaste.h>
11 int XmClipboardUndoCopy (display, window)
12 Display * display;
13 Window window;
14 (void)
15
17 XmClipboardUndoCopy deletes the last item placed on the clipboard if
18 the item was placed there by an application with the passed display and
19 window arguments. Any data item deleted from the clipboard by the orig‐
20 inal call to XmClipboardCopy is restored. If the display or window IDs
21 do not match the last copied item, no action is taken, and this func‐
22 tion has no effect.
23
24 display Specifies a pointer to the Display structure that was
25 returned in a previous call to XOpenDisplay or XtDisplay.
26
27 window Specifies the window ID of a widget that relates the applica‐
28 tion window to the clipboard. The widget's window ID can be
29 obtained through XtWindow. The same application instance
30 should pass the same window ID to each clipboard function it
31 calls.
32
34 XmClipboardSuccess
35 The function was successful.
36
37 XmClipboardLocked
38 The function failed because the clipboard was locked by
39 another application. The application can continue to call the
40 function again with the same parameters until the lock goes
41 away. This gives the application the opportunity to ask if
42 the user wants to keep trying or to give up on the operation.
43
45 XmClipboardLock(3) and XmClipboardStartCopy(3).
46
47
48
49 XmClipboardUndoCopy(library call)