Class
GtkSourceSnippetManager
Description
final class GtkSource.SnippetManager : GObject.Object {
/* No available fields */
}
Provides access to GtkSourceSnippet
.
GtkSourceSnippetManager
is an object which processes snippet description
files and creates GtkSourceSnippet
objects.
Use gtk_source_snippet_manager_get_default()
to retrieve the default
instance of GtkSourceSnippetManager
.
Use gtk_source_snippet_manager_get_snippet()
to retrieve snippets for
a given snippets.
Instance methods
gtk_source_snippet_manager_get_search_path
Gets the list directories where self
looks for snippet files.
gtk_source_snippet_manager_get_snippet
Queries the known snippets for the first matching group
, language_id
,
and/or trigger
.
gtk_source_snippet_manager_list_groups
List all the known groups within the snippet manager.
gtk_source_snippet_manager_list_matching
Queries the known snippets for those matching group
, language_id
, and/or
trigger_prefix
.
gtk_source_snippet_manager_set_search_path
Sets the list of directories in which the GtkSourceSnippetManager
looks for
snippet files.
Properties
GtkSource.SnippetManager:search-path
Contains a list of directories to search for files containing snippets (*.snippets).
Class structure
struct GtkSourceSnippetManagerClass {
GObjectClass parent_class;
}
Class members
parent_class |
|
No description available. |
Functions
gtk_source_snippet_manager_get_default
Returns the default GtkSourceSnippetManager
instance.