add_constraint_with_name


Description:

[ Version ( since = "1.4" ) ]
public void add_constraint_with_name (string name, Constraint constraint)

A convenience function for setting the name of a Constraint while adding it to the list of constraints applied to this

This function is the logical equivalent of:

	clutter_actor_meta_set_name (CLUTTER_ACTOR_META (constraint), name);
clutter_actor_add_constraint (self, constraint);

Parameters:

this

a Actor

name

the name to set on the constraint

constraint

a Constraint




2022 vala-language.org