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

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

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

See also

simple-pane


LispWorks CAPI Reference Manual - 21 Dec 2009

NextPrevUpTopContentsIndex