SnippetManager.setSearchPath

Sets the list of directories in which the gtksource.snippet_manager.SnippetManager looks for snippet files.

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

At the moment this function can be called only before the snippet files are loaded for the first time. In practice to set a custom search path for a gtksource.snippet_manager.SnippetManager, you have to call this function right after creating it.

class SnippetManager
void
setSearchPath
(
string[] dirs = null
)

Parameters

dirs string[]

a null-terminated array of strings or null.