Class (GI Struct)

Clutter-18ClutterActorIter

An iterator structure that allows to efficiently iterate over a section of the scene graph.

The contents of the Clutter.ActorIter structure are private and should only be accessed using the provided API.

Index

Constructors

Properties

Methods

Constructors

Properties

$gtype: GType<ActorIter>

Methods

  • Initializes a Clutter.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

    Returns void

  • Checks whether a Clutter.ActorIter is still valid.

    An iterator is considered valid if it has been initialized, and if the Clutter.Actor that it refers to hasn't been modified after the initialization.

    Returns boolean

    true if the iterator is valid, and false otherwise