Clutter.Event.set_source_device

### Method

# Clutter Eventset_source_device

#### Declaration [src]

    void
    clutter_event_set_source_device (
      ClutterEvent* event,
      ClutterInputDevice* device
    )

#### Description [src]

Sets the source `ClutterInputDevice` for `event`.

The `ClutterEvent` must have been created using clutter_event_new().

#### Parameters

`device`

  Type: `ClutterInputDevice`

  A `ClutterInputDevice`.

  The argument can be `NULL`.
  The data is owned by the caller of the function.