Package: gdk

Struct 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 :uint))
  ... ))  
type
The type of the event of type gdk-event-type).
window
The window of type gdk-window which received the event.
send-event
True if the event was sent explicitly, e. g. using XSendEvent.
subwindow
The window of type gdk-window that was entered or left.
time
The time of the event in milliseconds.
x
The x coordinate of the pointer relative to the window.
y
The y coordinate of the pointer relative to the window.
x-root
The x coordinate of the pointer relative to the root of the screen.
y-root
The y coordinate of the pointer relative to the root of the screen.
mode
The crossing mode of type gdk-crossing-mode, values are :normal, :grab, :ungrab, :gtk-grab, :gtk-ungrab, or :state-changed. :gtk-grab, :gtk-ungrab, and :state-changed were added in 2.14 and are always synthesized, never native.
detail
The kind of crossing of type gdk-notify-type that happened, values are :inferior, ancestor, :virtual, :non-linear, or :nonlinear-virtual.
focus
True if window is the focus window or an inferior.
state
A bit-mask representing the state of the modifier keys, e. g. Control, Shift and Alt) and the pointer buttons. See gdk-modifier-type.
 

Returned by

Slot Access Functions

Inherited Slot Access Functions

2014-1-31