Event.setSourceDevice

void setSourceDevice(gdk.device.Device device)

Sets the slave device for event to device.

The event must have been allocated by GTK+, for instance by [gdk.event.Event.copy].

Parameters

devicea #GdkDevice