actor: Add destroy_all_children()

There are times when we don't want to remove all children and count of
the reference count to drop to 0 to ensure destruction; there are cases,
such as managed environments, where it's preferable to ensure that the
children of an actor get actually destroyed.
This commit is contained in:
Emmanuele Bassi
2012-02-13 17:26:37 +00:00
parent 83119966a4
commit 3996ae4348
4 changed files with 56 additions and 1 deletions

View File

@ -388,8 +388,9 @@ clutter_actor_insert_child_above
clutter_actor_insert_child_at_index
clutter_actor_insert_child_below
clutter_actor_replace_child
clutter_actor_remove_all_children
clutter_actor_remove_child
clutter_actor_remove_all_children
clutter_actor_destroy_all_children
clutter_actor_get_first_child
clutter_actor_get_next_sibling
clutter_actor_get_previous_sibling
@ -408,6 +409,7 @@ clutter_actor_iter_init
clutter_actor_iter_next
clutter_actor_iter_prev
clutter_actor_iter_remove
clutter_actor_iter_destroy
<SUBSECTION>
clutter_actor_push_internal