EventControllerMotion
Superclasses: EventController
, Object
- Constructors:
EventControllerMotion(**properties)
new() -> Gtk.EventController
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 afterleave
is 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 afterleave
is emitted.