Home | All Classes | Grouped Classes | Index | Search

CL_TreeItem::set_icon

Sets the items icon.

	void set_icon(
		CL_Surface* surface, bool delete_surface = false);

Detailed description:

If 'delete_surface' is true, the surface will be deleted when the component is deleted.

See also:

CL_Surface | CL_TreeItem



Questions or comments, write to the ClanLib mailing list.