Receives a string, potentially from another application. Is also understood by some other panes that expect text.
Receives an image on Cocoa and GTK+. The value passed should be a
. See Working with images for more information about images.When supplying an image for dragging (that is, including
in the plist argument of
or in the plist that is returned from the
), the dragging mechanism frees the image (as by
) when it finishes with it (which will be at some indeterminate time later). If you need to pass an image which you want to use later, you should make a copy of it by
When receiving an image (by calling
), the received image should also be freed when you finish with it. However, it will be freed automatically when the pane supplied to
is destroyed, so you do not need to free it explictly if freeing can wait (which is probably true in most cases).
See the example in
Receives a list of files. Is understood by other applications such as the Mac OS X Finder and Windows Explorer.
You can also use private formats, named by arbitrary keywords, which will work only in the same Lisp image.
CAPI User Guide (Windows version) - 30 Aug 2011