Package: gdk

GBoxed gdk-event-crossing

Superclasses

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

Documented Subclasses

None

Details

Generated when the pointer enters or leaves a window.
(define-g-boxed-variant-cstruct gdk-event "GdkEvent"
  (type gdk-event-type)
  (window (g-object gdk-window))
  (send-event (:boolean :int8))
  (:variant type
            ...
            ((:enter-notify :leave-notify) gdk-event-crossing
             (subwindow (g-object gdk-window))
             (time :uint32)
             (x :double)
             (y :double)
             (x-root :double)
             (y-root :double)
             (mode gdk-crossing-mode)
             (detail gdk-notify-type)
             (focus :boolean)
             (state gdk-modifier-type))
  ... ))  
type
The gdk-event-type type of the event.
window
The gdk-window object which received the event.
send-event
True if the event was sent explicitly.
subwindow
The gdk-window object that was entered or left.
time
An unsigned integer with the time of the event in milliseconds.
x
The double float x coordinate of the pointer relative to the window.
y
The double float y coordinate of the pointer relative to the window.
x-root
The double float x coordinate of the pointer relative to the root of the screen.
y-root
The double float y coordinate of the pointer relative to the root of the screen.
mode
The gdk-crossing-mode value.
detail
The gdk-notify-type kind of crossing that happened.
focus
True if window is the focus window or an inferior.
state
The gdk-modifier-type bit-mask representing the state of the modifier keys, e.g. the Control, Shift and Alt keys, and the pointer buttons.
 

Slot Access Functions

Inherited Slot Access Functions

See also

2021-12-13