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