Package: gtk

Function gtk-drag-dest-track-motion

Lambda List

gtk-drag-dest-track-motion (widget)

Syntax

(gtk-drag-dest-track-motion widget) => motion
(setf (gtk-drag-dest-track-motion widget) motion)

Arguments

widget -- a gtk-widget that is a drag destination
motion -- a boolean whether to accept all targets

Details

The gtk-drag-dest-track-motion function returns whether the widget has been configured to always emit "drag-motion" signals. The (setf gtk-drag-dest-track-motion) function tells the widget to emit "drag-motion" and "drag-leave" events regardless of the targets and the :motion flag.

This may be used when a widget wants to do generic actions regardless of the targets that the source offers.
 

See also

2021-10-3