[ CCode ( has_construct_function = false ) ]
public Component.from_file (string filename)
Creates a new Component from an XML file.
Note that a component file usually contains engine descriptions, if it does, EngineDesc.from_xml_node will be called to load the engine descriptions.
| filename |
An XML file that contains component information. |
|
A newly allocated Component. |