init


Description:

public void init (Actor root)

Initializes a ActorIter, which can then be used to iterate efficiently over a section of the scene graph, and associates it with root.

Modifying the scene graph section that contains root will invalidate the iterator.

  ClutterActorIter iter;
ClutterActor *child;

clutter_actor_iter_init (&iter, container);
while (clutter_actor_iter_next (&iter, &child))
{
// do something with child
}

Parameters:

this

a ActorIter

root

a Actor