insert_child_at_index


Description:

[ Version ( since = "1.10" ) ]
public void insert_child_at_index (Actor child, int index_)

Inserts child into the list of children of this, using the given index_.

If index_ is greater than the number of children in this, or is less than 0, then the new child is added at the end.

This function will acquire a reference on child that will only be released when calling remove_child.

This function will not take into consideration the depth of child .

This function will emit the actor_added signal on this.

Parameters:

this

a Actor

child

a Actor

index_

the index