Package: gdk

Function gdk:event-device

Lambda List

gdk:event-device (event)

Syntax

(gdk:event-device event) => device
(setf (gdk:event-device event) device)

Arguments

event -- a gdk:event instance
device -- a gdk:device object

Details

Gets or sets the "device" field of an event. If the event contains a "device" field, this function will return it, else it will return nil.

The event must have been allocated by GTK, for instance, by the gdk:event-copy function.
 

See also

2025-10-09