child_add_position


Description:

public bool child_add_position (Menuitem child, uint position)

Puts child in the list of children for this at the location specified in position.

If there is not enough entires available then child will be placed at the end of the list.

Parameters:

this

The Menuitem that we're adding the child child to.

child

The Menuitem to make a child of this .

position

Where in this object's list of chidren child should be placed.

Returns:

Whether child was added successfully.