Event.setDevice

Sets the device for event to device. The event must have been allocated by GTK+, for instance, by gdk_event_copy().

class Event
void
setDevice

Parameters

device Device

a GdkDevice Since 3.0

Meta