gdk.event_grab_broken
Module for [EventGrabBroken] class
class EventGrabBroken
Types 1
classEventGrabBroken
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
GdkEventGrabBroken _cInstanceMethods
void * _cPtr() nothrowgdk.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 grabvoid 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 grabbyte 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 brokenvoid keyboard(bool propval) @property nothrowSet `keyboard` field. Params: propval = true if a keyboard grab was broken, false if a pointer grab was brokenbool implicit() @property nothrowGet `implicit` field. Returns: true if the broken grab was implicitvoid implicit(bool propval) @property nothrowSet `implicit` field. Params: propval = true if the broken grab was implicitgdk.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.