LispWorks CAPI Reference Manual > 1 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.

Note: 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

See examples/capi/output-panes/drag-and-drop.lisp

See also

set-drop-object-supported-formats
simple-pane


LispWorks CAPI Reference Manual - 21 Dec 2009

NextPrevUpTopContentsIndex