Component.from_file


Description:

[ 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, ibus_engine_desc_new_from_xml_node will be called to load the engine descriptions.

Parameters:

filename

An XML file that contains component information.

Returns:

A newly allocated Component.