EventControllerMotion
GtkEventControllerMotion
is an event controller tracking the pointer position.
The event controller offers signal@Gtk.EventControllerMotion::enter and signal@Gtk.EventControllerMotion::leave signals, as well as property@Gtk.EventControllerMotion:is-pointer and property@Gtk.EventControllerMotion:contains-pointer properties which are updated to reflect changes in the pointer position as it moves over the widget.
Skipped during bindings generation
method
contains-pointer
: Property has no getter nor settermethod
is-pointer
: Property has no getter nor setter
Constructors
Properties
Functions
Returns if a pointer is within @self or one of its children.
Emits the "motion" signal. See onMotion.
Returns the event that is currently being handled by the controller.
Returns the device of the event that is currently being handled by the controller.
Returns the modifier state of the event that is currently being handled by the controller.
Returns the timestamp of the event that is currently being handled by the controller.
Sets a name on the controller that can be used for debugging.