Snippet


Object Hierarchy:

GtkSource.Snippet GtkSource.Snippet GtkSource.Snippet GLib.Object GLib.Object GLib.Object->GtkSource.Snippet

Description:

[ CCode ( type_id = "gtk_source_snippet_get_type ()" ) ]
public sealed class Snippet : Object

Quick insertion code snippets.

The `GtkSourceSnippet` represents a series of chunks that can quickly be inserted into the [class@View].

Snippets are defined in XML files which are loaded by the [class@SnippetManager]. Alternatively, applications can create snippets on demand and insert them into the [class@View] using [method@View.push_snippet].

Snippet chunks can reference other snippet chunks as well as post-process the values from other chunks such as capitalization.


Namespace: GtkSource
Package: gtksourceview-5

Content:

Properties:

Creation methods:

Methods:

Inherited Members: