Robert Bragg 4bda674732 actor: make _clutter_actor_traverse more flexible
This makes it possible to choose the traversal order; either depth first
or breadth first and when visiting actors in a depth first order there
is now a callback called before children are traversed and one called
after. Some tasks such as unrealizing actors need to explicitly control
the traversal order to maintain the invariable that all children of an
actor are unrealized before we actually mark the parent as unrealized.

The callbacks are now passed the relative depth in the graph of the
actor being visited and instead of only being able to return a boolean
to bail out of further traversal it can now do one of: continue,
skip_children or break. To implement something like unrealize it's
desirable to skip children that you find have already been unrealized.
2010-11-24 16:51:59 +00:00
..
2010-10-25 13:18:25 +01:00
2010-10-21 12:22:17 +01:00
2010-10-21 12:22:17 +01:00
2010-10-21 12:22:17 +01:00
2010-10-21 13:13:00 +01:00
2010-10-21 13:13:00 +01:00
2010-11-18 18:23:49 +00:00
2010-10-18 11:26:44 +01:00
2010-10-21 12:22:17 +01:00
2010-10-21 12:22:17 +01:00
2010-11-18 18:23:49 +00:00
2010-11-18 18:23:49 +00:00
2010-10-21 12:22:17 +01:00
2010-10-21 12:22:17 +01:00
2010-09-08 16:41:47 +01:00
2010-11-06 20:11:16 +00:00
2010-10-18 11:26:44 +01:00
2010-09-08 16:41:47 +01:00
2010-10-21 12:22:17 +01:00
2010-11-06 20:11:16 +00:00
2010-09-08 16:41:47 +01:00
2010-10-18 11:26:44 +01:00
2010-11-18 18:23:49 +00:00
2010-11-15 16:00:49 +00:00
2010-11-15 16:00:49 +00:00
2010-11-18 18:23:49 +00:00
2010-11-18 18:23:49 +00:00
2010-11-18 18:23:49 +00:00
2010-11-15 16:00:49 +00:00
2010-11-15 16:00:49 +00:00