Home | All Classes | Grouped Classes | Index | Search

# CL_ListBox::insert_item

Inserts a listitem into the list at index. Inserts text into the list at index.

    	int insert_item(
    		CL_ListItem* item, int index = -1, bool delete_item = false);

    	int insert_item(
    		const std::string& text, int index = -1);

Detailed description:

If index is negative, text is inserted at the end of the list. Returns the index of the text

If index is negative, text is inserted at the end of the list. Returns the index of the text

See also:

CL_ListBox | CL_ListItem

Questions or comments, write to the ClanLib mailing list.