Package: gdk

GBoxed gdk-event-proximity

Superclasses

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

Documented Subclasses

None

Details

Proximity events are generated when using the wrapper for the XInput extension for GDK. The XInput extension is an add-on for standard X that allows you to use nonstandard devices such as graphics tablets. A proximity event indicates that the stylus has moved in or out of contact with the tablet, or perhaps that the finger of the user has moved in or out of contact with a touch screen.

This event type will be used pretty rarely. It only is important for XInput aware programs that are drawing their own cursor.
(define-g-boxed-variant-cstruct gdk-event "GdkEvent"
  (type gdk-event-type)
  (window (g-object gdk-window))
  (send-event (:boolean :int8))
            ...
            ((:proximity-in
              :proximity-out) gdk-event-proximity
             (time :uint32)
             (device (g-object gdk-device)))
  ... ))  
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.
time
An unsigned integer with the time of the event in milliseconds.
device
The gdk-device object where the event originated.
 

Slot Access Functions

Inherited Slot Access Functions

See also

2021-12-13