Emitted when a pointer or keyboard grab on a window belonging to widget gets broken.

On X11, this happens when the grab window becomes unviewable (i.e. it or one of its ancestors is unmapped), or if the same application grabs the pointer or keyboard again.

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

Return Value

Type: gulong

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