All Classes |Grouped Classes |Index

Function func_create_custom_component

Callback invoked when loading a custom component from XML.

	virtual CL_Callback_2<CL_GUIComponent*, CL_GUIComponent*, String>p; CL_CL_GUICompntpnt::func_cc_creacuscustom_component();

Detailed description:

The type of the component to create is passed as a parameter to the function. The callback function should create the desired component and return it, or return 0, if no component is created. Example definition: CL_GUIComponent *Foo::on_create_custom_component(CL_GUIComponent *parent, CL_String type);