Widget.addOnLeaveNotify

The ::leave-notify-event will be emitted when the pointer leaves the widget's window.

To receive this signal, the gdk.Window associated to the widget needs to enable the GDK_LEAVE_NOTIFY_MASK mask.

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

  1. gulong addOnLeaveNotify(bool delegate(GdkEventCrossing*, Widget) dlg, ConnectFlags connectFlags)
    class Widget
    gulong
    addOnLeaveNotify
    (
    bool delegate dlg
    ,
    ConnectFlags connectFlags = cast(ConnectFlags)0
    )
  2. gulong addOnLeaveNotify(bool delegate(Event, Widget) dlg, ConnectFlags connectFlags)

Return Value

Type: gulong

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