add_effect_with_name


Description:

[ Version ( since = "1.4" ) ]
public void add_effect_with_name (string name, Effect effect)

A convenience function for setting the name of a Effect while adding it to the list of effects applied to this.

Note that as Effect is initially unowned, add_effect_with_name will sink any floating reference on effect.

This function is the logical equivalent of:

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

Parameters:

this

a Actor

name

the name to set on the effect

effect

a Effect




2022 vala-language.org