All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

NextPrevUpTopContentsIndex

drop-object-provides-format

Function
Summary

Queries whether a dropping operation can provide an object in a given format.

Package

capi

Signature

drop-object-provides-format drop-object format => result

Arguments

drop-object

A drop-object , as passed to the drop-callback .

format

A format keyword

Values

result

A boolean

Description

The function drop-object-provides-format returns non-nil if the dropping operation can provide an object in the given format. It returns nil if it cannot provide that format.

See set-drop-object-supported-formats for information on format keywords.

Notes

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
(example-edit-file "capi/output-panes/drag-and-drop")
See also

set-drop-object-supported-formats
simple-pane
Drag and Drop


CAPI User Guide and Reference Manual (Windows version) - 3 Aug 2017

NextPrevUpTopContentsIndex