DropControllerMotion
Object Hierarchy:
Description:
[
CCode ( type_id =
"gtk_drop_controller_motion_get_type ()" ) ]
public class DropControllerMotion :
EventController
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.
Content:
Properties:
- public bool contains_pointer { get; }
Whether the pointer of a Drag-and-Drop operation is in the
controller's widget or a descendant.
- public Drop drop { get; }
The ongoing drop operation over the controller's widget or its
descendant.
- public bool is_pointer { get; }
Whether the pointer is in the controllers widget itself, as opposed to
in a descendent widget.
Creation methods:
Methods:
Signals:
- public signal void enter (double x, double y)
Signals that the pointer has entered the widget.
- public signal void leave ()
Signals that the pointer has left the widget.
- public signal void motion (double x, double y)
Emitted when the pointer moves inside the widget.
Inherited Members:
All known members inherited from class Gtk.EventController
All known members inherited from class GLib.Object