Adds a child item to a container item at the given stack position.
this |
the container to add the item to. |
child |
the item to add. |
position |
the position of the item, or -1 to place it last (at the top of the stacking order). |