This method will add a box to this box's content section. A type can be specified
to determine how the new child box relates to other boxes. An available list of
types and descriptions is found below.
- default - The box is just added as a content child.
- descendantPart - The box is added as a content child and also has the
same gadget parent as this box.
var cont = scene.getBoxById("theTabs");
if (cont)
{
var bx = scene.createBox("tab");
// ... setup tab attributes here ...
cont.insertContentChildAt(bx, 2, "default");
}