Widget.addOnMotionNotify

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

To receive this signal, the #GdkWindow 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.

  1. gulong addOnMotionNotify(bool delegate(GdkEventMotion*, Widget) dlg, ConnectFlags connectFlags)
  2. gulong addOnMotionNotify(bool delegate(Event, Widget) dlg, ConnectFlags connectFlags)
    class Widget
    addOnMotionNotify

Return Value

Type: gulong

%TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further.

Meta