Home | All Classes | Grouped Classes | Index | Search
Creates a component of type 'component_type_name'. Create component.
CL_Component* create_component( const std::string& type, CL_Component* parent, CL_StyleManager* style); CL_Component* create_component( CL_Component* parent, CL_StyleManager* style);
Detailed description:
If no such component type exists, a CL_Error is thrown. The method invokes the specific component type's virtual 'create_component' method with the passed arguments.
See also:
CL_Component | CL_ComponentType | CL_Error | CL_StyleManager