Reads or sets the current effect of a dropping operation.
capi
drop-object-drop-effect drop-object => effect
(setf drop-object-drop-effect) effect drop-object => effect
drop-object⇩ |
A drop-object, as passed to the drop-callback. |
effect⇩ |
An effect keyword. |
effect⇩ |
An effect keyword. |
The accessor drop-object-drop-effect
gets or sets the current effect of the dropping operation for drop-object. 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. |
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-edit-file "capi/output-panes/drag-and-drop")
CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:27