add_ui_from_file


Description:

[ Version ( since = "2.4" ) ]
public uint add_ui_from_file (string filename) throws Error

Parses a file containing a UI definition and merges it with the current contents of this.

Parameters:

this

a UIManager object

filename

the name of the file to parse

Returns:

The merge id for the merged UI. The merge id can be used to unmerge the UI with remove_ui. If an error occurred, the return value is 0.