Returns the contents of the system clipboard.
A displayed CAPI pane or interface.
A string, an image, a Lisp object, or
clipboard returns the contents of the system clipboard as a string, or
nil if the clipboard is empty.
controls what kind of object is read. The following values of
The object is a string. This is the default value.
The object is of type image, converted from whatever format the platform supports.
The object is the Lisp value.
The object is a metafile.
:image, the image returned by clipboard is associated with
, so you can free it explicitly with free-image or it will be freed automatically when the pane is destroyed.
:metafile the object is a metafile which should be freed using free-metafile when no longer needed. See also draw-metafile and draw-metafile-to-image.
:metafile is not supported on GTK+ or X11/Motif.
The Microsoft Windows clipboard is usually set by the user with the
Ctrl+X gestures. Note that the LispWorks editor uses these gestures when in Windows emulation mode.
On X11/Motif, various gestures may set the clipboard. Note that LispWorks uses
Ctrl+X when in KDE/Gnome editor emulation mode. The X clipboard can also be accessed by running the program
xclipboard or the Emacs function
The Mac OS X clipboard is usually set by the user with the
CAPI User Guide and Reference Manual (Windows version) - 25 Feb 2015