Class

GtkSourceSnippetManager

since: 5

Description [src]

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.

Available since: 5

Hierarchy

hierarchy this GtkSourceSnippetManager ancestor_0 GObject ancestor_0--this

Ancestors

Functions

gtk_source_snippet_manager_get_default

Returns the default GtkSourceSnippetManager instance.

since: 5

Instance methods

gtk_source_snippet_manager_get_search_path

Gets the list directories where self looks for snippet files.

since: 5

gtk_source_snippet_manager_get_snippet

Queries the known snippets for the first matching group, language_id, and/or trigger.

since: 5

gtk_source_snippet_manager_list_groups

List all the known groups within the snippet manager.

since: 5

gtk_source_snippet_manager_list_matching

Queries the known snippets for those matching group, language_id, and/or trigger_prefix.

since: 5

gtk_source_snippet_manager_set_search_path

Sets the list of directories in which the GtkSourceSnippetManager looks for snippet files.

since: 5

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

GtkSource.SnippetManager:search-path

Contains a list of directories to search for files containing snippets (*.snippets).

since: 5

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

since: 2.0

Class structure

struct GtkSourceSnippetManagerClass {
  GObjectClass parent_class;
  
}
No description available.
Class members
parent_class: GObjectClass
No description available.