Method

ClutterActorget_effect

since: 1.4

Declaration [src]

ClutterEffect*
clutter_actor_get_effect (
  ClutterActor* self,
  const gchar* name
)

Description [src]

Retrieves the ClutterEffect with the given name in the list of effects applied to self.

Available since: 1.4

Parameters

name

Type: const gchar*

The name of the effect to retrieve.

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

Return value

Type: ClutterEffect

A ClutterEffect for the given name, or NULL. The returned ClutterEffect 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.