CL_ComponentManager::get_component - ClanLib Game SDK

Home | All Classes | Grouped Classes | Index | Search

# CL_ComponentManager::get_component

Returns the component identified by the specified name in the gui definition file.

    	CL_Component* get_component(
    		const std::string& name);

Detailed description:

If the component is not found, a CL_Error exception is thrown.

See also:

CL_Component | CL_ComponentManager | CL_Error

Questions or comments, write to the ClanLib mailing list.