gtksource.snippet_manager
Module for [SnippetManager] class
Types 3
Provides access to gtksource.snippet.Snippet.
gtksource.snippet_manager.SnippetManager is an object which processes snippet description files and creates gtksource.snippet.Snippet objects.
Use gtksource.snippet_manager.SnippetManager.getDefault to retrieve the default instance of gtksource.snippet_manager.SnippetManager.
Use gtksource.snippet_manager.SnippetManager.getSnippet to retrieve snippets for a given snippets.
Methods
SnippetManagerGidBuilder builder() static nothrowGet builder for [gtksource.snippet_manager.SnippetManager] Returns: New builder objectgtksource.snippet_manager.SnippetManager getDefault() static nothrowReturns the default #GtkSourceSnippetManager instance. Returns: a #GtkSourceSnippetManager which is owned by GtkSourceView library and must not be unref'd.string[] getSearchPath() nothrowGets the list directories where self looks for snippet files. Returns: null-terminated array containing a list of snippet files directories. The array is owned by lm and must not be modified.gtksource.snippet.Snippet getSnippet(string group, string languageId, string trigger) nothrowQueries the known snippets for the first matching group, language_id, and/or trigger.gio.list_model.ListModel listMatching(string group = null, string languageId = null, string triggerPrefix = null) nothrowQueries the known snippets for those matching group, language_id, and/or trigger_prefix.void setSearchPath(string[] dirs = null) nothrowSets the list of directories in which the [gtksource.snippet_manager.SnippetManager] looks for snippet files.Fluent builder implementation template for gtksource.snippet_manager.SnippetManager
Fluent builder for gtksource.snippet_manager.SnippetManager
Methods