[ Version ( since = "3.8" ) ]
public bool load_resource (Resource resource, string path, SourcePermissionFlags flags) throws Error
Loads data source key files from resource by enumerating the children at path and calling
load_file on each child.
Because multiple errors can occur when loading multiple files, throws is only set if path
is invalid. If a key file fails to load, the error is broadcast through the
load_error signal.
| this | |
| resource |
a Resource containing data source key files |
| path |
the path to the data source key files inside |
| flags |
permission flags for files loaded from |
|
true if |