Package: gdk

GBoxed gdk-event-grab-broken

Superclasses

gdk-event, common-lisp:structure-object, common-lisp:t

Documented Subclasses

None

Details

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 gdk-event-grab-broken events.
(define-g-boxed-variant-cstruct gdk-event "GdkEvent"
  (type gdk-event-type)
  (window (g-object gdk-window))
  (send-event (:boolean :int8))
            ...
            ((:grab-broken) gdk-event-grab-broken
             (keyboard :boolean)
             (implicit :boolean)
             (grab-window (g-object gdk-window)))
  ... ))  
type
The gdk-event-type type of the event.
window
The gdk-window object which received the event, i.e. the window that previously owned the grab.
send-event
True if the event was sent explicitly.
keyboard
True if a keyboard grab was broken, false if a pointer grab was broken.
implicit
True if the broken grab was implicit.
grab-window
If this event is caused by another grab in the same application, grab-window contains the new gdk-window grab window. Otherwise grab-window is nil.
 

Slot Access Functions

Inherited Slot Access Functions

See also

2021-12-13