## Iterating over a ClutterPath

It is possible to iterate over all the ClutterPathNodes inside a ClutterPath by using `clutter_path_get_nodes()`, which will return a GSList of ClutterPathNodes; or by using `clutter_path_foreach()` with a function.

The function pointer passed to `clutter_path_foreach()` should have the following definition:

    1
    2
    3
    4
    5
    static void
    foreach_node (ClutterPathNode *path_node,
                  gpointer         user_data)
    {
    }