gdk.event_grab_broken

Module for [EventGrabBroken] class

Types 1

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.

Fields
Methods
void * _cPtr() nothrow
gdk.types.EventType type() @property nothrowGet `type` field. Returns: the type of the event ([gdk.types.EventType.GrabBroken])
void type(gdk.types.EventType propval) @property nothrowSet `type` field. Params: propval = the type of the event ([gdk.types.EventType.GrabBroken])
gdk.window.Window window() @property nothrowGet `window` field. Returns: the window which received the event, i.e. the window that previously owned the grab
void window(gdk.window.Window propval) @property nothrowSet `window` field. Params: propval = the window which received the event, i.e. the window that previously owned the grab
byte sendEvent() @property nothrowGet `sendEvent` field. Returns: true if the event was sent explicitly.
void sendEvent(byte propval) @property nothrowSet `sendEvent` field. Params: propval = true if the event was sent explicitly.
bool keyboard() @property nothrowGet `keyboard` field. Returns: true if a keyboard grab was broken, false if a pointer grab was broken
void keyboard(bool propval) @property nothrowSet `keyboard` field. Params: propval = true if a keyboard grab was broken, false if a pointer grab was broken
bool implicit() @property nothrowGet `implicit` field. Returns: true if the broken grab was implicit
void implicit(bool propval) @property nothrowSet `implicit` field. Params: propval = true if the broken grab was implicit
gdk.window.Window grabWindow() @property nothrowGet `grabWindow` field. Returns: If this event is caused by another grab in the same application, @grab_window contains the new grab window. Otherwise @grab_window is null.
void grabWindow(gdk.window.Window propval) @property nothrowSet `grabWindow` field. Params: propval = If this event is caused by another grab in the same application, @grab_window contains the new grab window. Otherwise @grab_window is null.
Constructors
this(void * ptr, Flag!"Take" take)