EventControllerMotion#
Superclasses: EventController, Object
Tracks the pointer position.
The event controller offers enter
and leave signals, as well as
is_pointer and
contains_pointer properties
which are updated to reflect changes in the pointer position as it
moves over the widget.
Constructors#
- class EventControllerMotion
- classmethod new() EventController#
Creates a new event controller that will handle motion events.
Methods#
Properties#
- class EventControllerMotion
- props.contains_pointer: bool#
Whether the pointer is in the controllers widget or a descendant.
See also
is_pointer.When handling crossing events, this property is updated before
enter, but afterleaveis emitted.
- props.is_pointer: bool#
Whether the pointer is in the controllers widget itself, as opposed to in a descendent widget.
See also
contains_pointer.When handling crossing events, this property is updated before
enter, but afterleaveis emitted.