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

drop-object-allows-drop-effect-p Function

Summary

Queries whether a dropping operation can be performed with a given effect.

Package

capi

Signature

drop-object-allows-drop-effect-p drop-object effect => result

Arguments
drop-object
A drop-object, as passed to the drop-callback.
effect
An effect keyword.
Values
result
A boolean.
Description

The function drop-object-allows-drop-effect-p returns non-nil if the dropping operation can be performed for drop-object with the given effect effect. It returns nil if the dropping operation cannot be performed. See drop-object-drop-effect for information on drop effect keywords.

Notes

drop-object-allows-drop-effect-p should only be called within a drop-callback. It is not supported on X11/Motif. See simple-pane for information about drop callbacks.

See also

drop-object-drop-effect
simple-pane


CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:32:42