### Method

# Clutter Event set_device

#### Declaration [src]

    void
    clutter_event_set_device (
      ClutterEvent* event,
      ClutterInputDevice* device
    )

#### Description [src]

Sets the device for `event`.

#### Parameters

`device`

  Type: `ClutterInputDevice`

  A `ClutterInputDevice`, or `NULL`.

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