load_from_file


Description:

public uint load_from_file (string filename) throws Error

Loads the definitions from filename into this and merges with the currently loaded ones, if any.

Parameters:

this

a Script

filename

the full path to the definition file

Returns:

on error, zero is returned and error is set accordingly. On success, the merge id for the UI definitions is returned. You can use the merge id with unmerge_objects.




2022 vala-language.org