Event.setDevice

Sets the device for event to device. The event must have been allocated by GTK+, for instance, by gdk.event.Event.copy.

class Event
void
setDevice

Parameters

device gdk.device.Device

a #GdkDevice