A displayed CAPI pane or interface.
A Lisp object (not necessarily a string) to make available within the local Lisp image.
The string representation of
value
to export, or
nil
. If
nil
and
value
is a string, then that will be exported as the string.
A property list of additional format/value pairs to export. The currently supported formats are as described for
clipboard
. You can export more than one format simultaneously.
The function
set-clipboard
sets the contents of the system clipboard to be the text of
string
.
In Windows applications (including LispWorks in Windows emulation mode), the contents of the system clipboard is usually accessed by the user with the
Ctrl+V
gesture.
The X clipboard can be accessed by running the program xclipboard or the Emacs function x-get-clipboard. The most likely explanation for apparent inconsistencies after
set-clipboard
is that the pasting application doesn't use the X clipboard.
In Cocoa applications (including LispWorks), the contents of the system clipboard is usually accessed by the user with the
Command+V
gesture.
(capi:set-clipboard
pane
nil nil (list :image
image
))
To export an image with a text description
(capi:set-clipboard pane nil nil
(list :image image
:string "my image"))