Queries whether a dropping operation can provide an object in a given format.
capi
drop-object-provides-format drop-object format => result
drop-object⇩ |
A drop-object, as passed to the drop-callback. |
format⇩ |
A format keyword. |
result |
A boolean. |
The function drop-object-provides-format
returns non-nil if the dropping operation can provide an object with format format in the dropping operation for drop-object. It returns nil
if it cannot provide that format.
See set-drop-object-supported-formats for information on format keywords.
drop-object-provides-format
should only be called within a drop-callback. It is not supported on X11/Motif. See simple-pane for information about drop callbacks.
(example-edit-file "capi/output-panes/drag-and-drop")
set-drop-object-supported-formats
simple-pane
17 Drag and Drop
CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:27