Clutter.Event.new
Description: Reference for Clutter.Event.new

### Function

# Clutter Eventnew

#### Declaration [src]

    ClutterEvent*
    clutter_event_new (
      ClutterEventType type
    )

#### Description [src]

Creates a new `ClutterEvent` of the specified type.

#### Parameters

`type` | `ClutterEventType`
| The type of event.

#### Return value

Returns: | `ClutterEvent`
| A newly allocated `ClutterEvent`.
| The caller of the function takes ownership of the data, and is responsible for freeing it.