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()
gdk.types.EventType type() @propertyGet `type` field. Returns: the type of the event ([gdk.types.EventType.GrabBroken])
void type(gdk.types.EventType propval) @propertySet `type` field. Params: propval = the type of the event ([gdk.types.EventType.GrabBroken])
gdk.window.Window window() @propertyGet `window` field. Returns: the window which received the event, i.e. the window that previously owned the grab
void window(gdk.window.Window propval) @propertySet `window` field. Params: propval = the window which received the event, i.e. the window that previously owned the grab
byte sendEvent() @propertyGet `sendEvent` field. Returns: true if the event was sent explicitly.
void sendEvent(byte propval) @propertySet `sendEvent` field. Params: propval = true if the event was sent explicitly.
bool keyboard() @propertyGet `keyboard` field. Returns: true if a keyboard grab was broken, false if a pointer grab was broken
void keyboard(bool propval) @propertySet `keyboard` field. Params: propval = true if a keyboard grab was broken, false if a pointer grab was broken
bool implicit() @propertyGet `implicit` field. Returns: true if the broken grab was implicit
void implicit(bool propval) @propertySet `implicit` field. Params: propval = true if the broken grab was implicit
gdk.window.Window grabWindow() @propertyGet `grabWindow` field. Returns: If this event is caused by another grab in the same application, @grabwindow contains the new grab window. Otherwise @grabwindow is null.
void grabWindow(gdk.window.Window propval) @propertySet `grabWindow` field. Params: propval = If this event is caused by another grab in the same application, @grabwindow contains the new grab window. Otherwise @grabwindow is null.
Constructors
this(void * ptr, Flag!"Take" take)