CL_Component::add_child - ClanLib Game SDK

Home | All Classes | Grouped Classes | Index | Search

# CL_Component::add_child

Adds the specified component as a children to this component.

    	void add_child(
    		CL_Component* child, bool delete_child = false);

Detailed description:

If 'delete_child' is true, the child will be deleted when the component is deleted.

See also:

CL_Component

Questions or comments, write to the ClanLib mailing list.