Method

ClutterActorget_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

Type: const gchar*

The name of the constraint to retrieve.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: 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 returned data is owned by the instance.
The return value can be NULL.