Clutter.Actor.get_constraint

### Method

# Clutter Actorget_constraint

#### Declaration [src]

    ClutterConstraint*
    clutter_actor_get_constraint (
      ClutterActor* self,
      const gchar* name
    )

#### Description [src]

Retrieves the `ClutterConstraint` with the given name in the list of constraints applied to `self`.

#### Parameters

`name` | `const gchar*`
| The name of the constraint to retrieve.
| The data is owned by the caller of the function.
| The value is a NUL terminated UTF-8 string.

#### Return value

Returns: | `ClutterConstraint`
| A `ClutterConstraint` for the given name, or `NULL`. The returned `ClutterConstraint` is owned by the actor and it should not be unreferenced directly.
| The data is owned by the instance.
| The return value can be `NULL`.