It derives from <GtkEventController>.
An event controller tracking the pointer during Drag-and-Drop operations.
It is modeled after
<GtkEventControllerMotion> so if you
have used that, this should feel really familiar.
This controller is not able to accept drops, use
<GtkDropTarget> for that purpose.
Whether the pointer of a Drag-and-Drop operation is in the controller’s widget or a descendant.
See also drop-controller-motion:is-pointer.
When handling crossing events, this property is updated before
drop-controller-motion:enter, but after
drop-controller-motion:leave is emitted.
Its value is a boolean.
It is read only.
The ongoing drop operation over the controller’s widget or its descendant.
If no drop operation is going on, this property returns #f.
The event controller should not modify the drop, but it might want to query its properties.
When handling crossing events, this property is updated before
drop-controller-motion:enter, but after
drop-controller-motion:leave is emitted.
Its value is a <GdkDrop>, or #f.
It is read only.
Whether the pointer is in the controllers widget itself, as opposed to in a descendent widget.
See also drop-controller-motion:contains-pointer.
When handling crossing events, this property is updated before
drop-controller-motion:enter, but after
drop-controller-motion:leave is emitted.
Its value is a boolean.
It is read only.
Returns if a Drag-and-Drop operation is within the widget self or one of its children.
Passed: a <GtkDropControllerMotion>.
Returned: a boolean.
#t if a dragging pointer is within self or one of its
children.
Returns the <GdkDrop> of a current Drag-and-Drop
operation over the widget of self.
Passed: a <GtkDropControllerMotion>.
Returned: a <GdkDrop>, or #f.
The <GdkDrop> currently happening within
self
Returns if a Drag-and-Drop operation is within the widget self, not one of its children.
Passed: a <GtkDropControllerMotion>.
Returned: a boolean.
#t if a dragging pointer is within self but not one of its
children
Creates a new event controller that will handle pointer motion events during drag and drop.
Returned: a <GtkEventController>.
Connect a handler with (connect object
drop-controller-motion:enter handler). It is called as (handler
self x y).
Signals that the pointer has entered the widget.
Passed: a <GtkDropControllerMotion>.
Passed: a real number.
coordinates of pointer location
Passed: a real number.
coordinates of pointer location
Connect a handler with (connect object
drop-controller-motion:leave handler). It is called as (handler
self).
Signals that the pointer has left the widget.
Passed: a <GtkDropControllerMotion>.
Connect a handler with (connect object
drop-controller-motion:motion handler). It is called as (handler
self x y).
Emitted when the pointer moves inside the widget.
Passed: a <GtkDropControllerMotion>.
Passed: a real number.
the x coordinate
Passed: a real number.
the y coordinate