Home | All Classes | Grouped Classes | Index | Search

CL_TreeNode::set_component

Sets/changes a new component for the node.

	void set_component(
		CL_Component* component, bool delete_component = false);

Detailed description:

Mostly used when add(CL_Component *) is used with a NULL parameter. Set delete_component to true if you want the component to be deleted when this node gets deleted.

See also:

CL_TreeNode



Questions or comments, write to the ClanLib mailing list.