Event.setSourceDevice

Sets the slave device for @event to @device.

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

class Event
void
setSourceDevice

Parameters

device Device

a #GdkDevice

Meta