ActorIter
Object Hierarchy:
Description:
[ CCode ( has_type_id = false ) ]
[ Version ( since = "1.10" ) ]
public struct ActorIter
An iterator structure that allows to efficiently iterate over a section of the scene graph.
The contents of the ActorIter structure are private and should only be accessed using the provided API.
Content:
Methods:
- public void destroy ()
Safely destroys the Actor
currently pointer to by the iterator from its parent.
- 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
.
- public bool is_valid ()
Checks whether a ActorIter is still valid.
- public bool next (out unowned Actor child)
Advances the this and retrieves the
next child of the root Actor that was used to initialize the ClutterActorIterator
.
- public bool prev (out unowned Actor child)
Advances the this and retrieves the
previous child of the root Actor that was used to initialize the
ClutterActorIterator
.
- public void remove ()
Safely removes the Actor
currently pointer to by the iterator from its parent.