Creates a new event controller that will handle motion events.
Connect to Enter signal.
Connect to Leave signal.
Connect to Motion signal.
Returns if a pointer is within self or one of its children.
Returns if a pointer is within self, but not one of its children.
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.
Gets the name of controller.
Gets the propagation limit of the event controller.
Gets the propagation phase at which controller handles events.
Returns the gtk.widget.Widget 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.
Sets a name on the controller that can be used for debugging.
gtk.event_controller_motion.EventControllerMotion is an event controller tracking the pointer position.
The event controller offers gtk.event_controller_motion.EventControllerMotion.enter and gtk.event_controller_motion.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.