Method

GdkEventset_source_device

since: 3.0

Declaration [src]

void
gdk_event_set_source_device (
  GdkEvent* event,
  GdkDevice* device
)

Description [src]

Sets the slave device for event to device.

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

Available since: 3.0

Parameters

device

Type: GdkDevice

A GdkDevice.

The data is owned by the caller of the method.