Gtk.EventControllerMotion
Signals
| Name | Short Description | 
|---|
| enter | Signals that the pointer has entered the widget. | 
| leave | Signals that pointer has left the widget. | 
| motion | Emitted when the pointer moves inside the widget. | 
 
Class Details
- 
class Gtk.EventControllerMotion(**kwargs)
- 
Gtk.EventControllerMotionis an event controller meant for situations
where you need to track the position of the pointer.
 This object was added in 3.24. 
- 
classmethod new(widget)[source]
- 
Creates a new event controller that will handle motion events
for the given widget. 
 
 
Signal Details
- 
Gtk.EventControllerMotion.signals.enter(event_controller_motion, x, y)
- 
| Signal Name: | enter
 | 
|---|
 | Flags: | RUN_FIRST
 | 
|---|
 | Parameters: |  | 
|---|
 
 - Signals that the pointer has entered the widget. 
- 
Gtk.EventControllerMotion.signals.leave(event_controller_motion)
- 
Signals that pointer has left the widget. 
- 
Gtk.EventControllerMotion.signals.motion(event_controller_motion, x, y)
- 
| Signal Name: | motion
 | 
|---|
 | Flags: | RUN_FIRST
 | 
|---|
 | Parameters: |  | 
|---|
 
 - Emitted when the pointer moves inside the widget.