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()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 grabvoid window(gdk.window.Window propval) @propertySet `window` field. Params: propval = the window which received the event, i.e. the window that previously owned the grabvoid 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 brokenvoid keyboard(bool propval) @propertySet `keyboard` field. Params: propval = true if a keyboard grab was broken, false if a pointer grab was brokenvoid implicit(bool propval) @propertySet `implicit` field. Params: propval = true if the broken grab was implicitgdk.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.