Method

ClutterActoradd_effect_with_name

Declaration [src]

void
clutter_actor_add_effect_with_name (
  ClutterActor* self,
  const gchar* name,
  ClutterEffect* effect
)

Description [src]

A convenience function for setting the name of a ClutterEffect while adding it to the list of effectss applied to self

This function is the logical equivalent of:

  clutter_actor_meta_set_name (CLUTTER_ACTOR_META (effect), name);
  clutter_actor_add_effect (self, effect);

Parameters

name

Type: const gchar*

The name to set on the effect.

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

Type: ClutterEffect

A ClutterEffect.

The data is owned by the caller of the method.