SuperclassesDocumented Subclasses
None
Direct Slotscontains-pointerThe contains-pointer property of type :boolean (Read) True if the pointer is in the controllers widget or a descendant. When
handling crossing events, this property is updated before the "enter" signal but after the "leave" signal is emitted. Default value: false is-pointerThe is-pointer property of type :boolean (Read) True if the pointer is contained in the controllers widget, as opposed
to in a descendent widget. When handling crossing events, this property is updated before the "enter" signal, but after the "leave" signal is emitted. Default value: false Details The gtk:event-controller-motion object is an event controller
tracking 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. Signal Details
The "enter" signal
lambda (controller x y) :run-first - controller
- The gtk:event-controller-motion object which received the signal.
- x
- The double float for the x coordinate.
- y
- The double float for the y coordinate.
Signals that the pointer has entered the widget.
The "leave" signal
lambda (controller) :run-first
Signals that the pointer has left the widget.
The "motion" signal
lambda (controller x y) :run-first - controller
- The gtk:event-controller-motion object which received the signal.
- x
- The double float for the x coordinate.
- y
- The double float for the y coordinate.
Emitted when the pointer moves inside the widget. |
| Returned byInherited Slot Access FunctionsSee also |