Struct

GdkEventGrabBroken

since: 2.8

Description [src]

struct GdkEventGrabBroken {
  GdkEventType type;
  GdkWindow* window;
  gint8 send_event;
  gboolean keyboard;
  gboolean implicit;
  GdkWindow* grab_window;
}

Generated when a pointer or keyboard grab is 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. Note that implicit grabs (which are initiated by button presses) can also cause GdkEventGrabBroken events.

Structure members
type: GdkEventType

The type of the event (GDK_GRAB_BROKEN).

window: GdkWindow

The window which received the event, i.e. the window that previously owned the grab.

send_event: gint8

TRUE if the event was sent explicitly.

keyboard: gboolean

TRUE if a keyboard grab was broken, FALSE if a pointer grab was broken.

implicit: gboolean

TRUE if the broken grab was implicit.

grab_window: GdkWindow

If this event is caused by another grab in the same application, grab_window contains the new grab window. Otherwise grab_window is NULL.

Available since: 2.8