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

NextPrevUpTopContentsIndex

drop-object-drop-effect

Function
Summary

Reads or sets the current effect of a dropping operation.

Package

capi

Signature

drop-object-drop-effect drop-object => effect

Signature

(setf drop-object-drop-effect) effect drop-object => effect

Arguments

drop-object

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

Values

effect

An effect keyword

Description

The function drop-object-drop-effect gets or sets the current effect of the dropping operation. effect can be one of:

:copy

The object will be copied. This is the most common value for operations between applications.

:move

The object will be moved. This is usually triggered by the user dragging with a platform-specific modifier key pressed.

:link

A link to the object will be created. This is usually triggered by the user dragging with a platform-specific modifier key pressed.

:none

No dragging is possible.

Notes

drop-object-drop-effect 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

simple-pane
Drag and Drop


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

NextPrevUpTopContentsIndex