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:GdkEventTypeThe type of the event (
GDK_GRAB_BROKEN).window:GdkWindowThe window which received the event, i.e. the window that previously owned the grab.
send_event:gint8TRUEif the event was sent explicitly.keyboard:gbooleanTRUEif a keyboard grab was broken,FALSEif a pointer grab was broken.implicit:gbooleanTRUEif the broken grab was implicit.grab_window:GdkWindowIf this event is caused by another grab in the same application,
grab_windowcontains the new grab window. Otherwisegrab_windowisNULL.
Available since: 2.8