Class
GtkSourceSnippet
Description [src]
final class GtkSource.Snippet : GObject.Object
{
/* No available fields */
}
Quick insertion code snippets.
The GtkSourceSnippet
represents a series of chunks that can quickly be
inserted into the GtkSourceView
.
Snippets are defined in XML files which are loaded by the
GtkSourceSnippetManager
. Alternatively, applications can create snippets
on demand and insert them into the GtkSourceView
using
gtk_source_view_push_snippet()
.
Snippet chunks can reference other snippet chunks as well as post-process the values from other chunks such as capitalization.
Constructors
gtk_source_snippet_new_parsed
Parses the snippet formatted text
into a series of chunks and adds them
to a new GtkSourceSnippet
.
since: 5.6
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.