Home | All Classes | Grouped Classes | Index | Search

CL_TreeNode::insert_item

Inserts a child item. Inserts a child item. It takes ownership of the components, and deletes them on shutdown.

	CL_TreeItem* insert_item(
		const std::string& label1, const std::string& label2 = std::string(), const std::string& label3 = std::string(), const std::string& label4 = std::string(), const std::string& label5 = std::string(), const std::string& label6 = std::string(), const std::string& label7 = std::string(), const std::string& label8 = std::string());

	CL_TreeNode* insert_item(
		CL_Component* component1, CL_Component* component2 = NULL, CL_Component* component3 = NULL, CL_Component* component4 = NULL, CL_Component* component5 = NULL, CL_Component* component6 = NULL, CL_Component* component7 = NULL, CL_Component* component8 = NULL);

See also:

CL_Component | CL_TreeItem | CL_TreeNode



Questions or comments, write to the ClanLib mailing list.