Gtk.Widget::motion-notify-event

function callback(widget, event:Gdk.EventMotion, ):Boolean;

The ::motion-notify-event signal is emitted when the pointer moves over the widget's Gdk.Window.

To receive this signal, the Gdk.Window associated to the widget needs to enable the #GDK_POINTER_MOTION_MASK mask.

This signal will be sent to the grab widget if there is one.

widget

instance of Gtk.Widget that is emitting the signal

event

the Gdk.EventMotion which triggered this signal.

Returns

true to stop other handlers from being invoked for the event. false to propagate the event further.