set_search_path


Description:

public void set_search_path (string[]? dirs)

Sets the list of directories where the this looks for language files.

If dirs is null, the search path is reset to default.

<note> <para> At the moment this function can be called only before the language files are loaded for the first time. In practice to set a custom search path for a SourceLanguageManager, you have to call this function right after creating it. </para> </note>

Parameters:

this

a SourceLanguageManager.

dirs

a null-terminated array of strings or null.




2022 vala-language.org