Sets our main struct and passes it to the parent class.
Creates a new event controller that will handle pointer motion events during drag and drop.
Signals that the pointer has entered the widget.
Signals that the pointer has left the widget.
Emitted when the pointer moves inside the widget.
Returns if a Drag-and-Drop operation is within the widget @self or one of its children.
Returns the GdkDrop of a current Drag-and-Drop operation over the widget of @self.
Get the main Gtk struct
the main Gtk struct as a void*
Returns if a Drag-and-Drop operation is within the widget @self, not one of its children.
the main Gtk struct
the main Gtk struct
Get the main Gtk struct
the main Gtk struct as a void*
Returns the event that is currently being handled by the controller, and %NULL at other times.
Returns the device of the event that is currently being handled by the controller, and %NULL otherwise.
Returns the modifier state of the event that is currently being handled by the controller, and 0 otherwise.
Returns the timestamp of the event that is currently being handled by the controller, and 0 otherwise.
Gets the name of @controller.
Gets the propagation limit of the event controller.
Gets the propagation phase at which @controller handles events.
Returns the #GtkWidget this controller relates to.
Resets the @controller to a clean state.
Sets a name on the controller that can be used for debugging.
Sets the event propagation limit on the event controller.
Sets the propagation phase at which a controller handles events.
GtkDropControllerMotion is an event controller tracking the pointer during Drag-and-Drop operations.
It is modeled after [class@Gtk.EventControllerMotion] so if you have used that, this should feel really familiar.
This controller is not able to accept drops, use [class@Gtk.DropTarget] for that purpose.