The function
set-drop-object-supported-formats
sets the list of formats that the drop object
drop-object
wants to receive.
The
:string
format can be used to receive a string from another application and the
:filenames-list
format can be used to receive a list of filenames from another application such as the Macintosh Finder or the Windows Explorer.
Any other keyword in formats is assumed to be a private format that can only be used to receive objects from with the same Lisp image.
Note:
set-drop-object-supported-formats
should only be called within a
drop-callback
. See simple-pane for information about drop callbacks.