Method

GtkSourceSnippetget_trigger

Declaration

const gchar*
gtk_source_snippet_get_trigger (
  GtkSourceSnippet* snippet
)

Description

Gets the trigger for the source snippet.

A trigger is a word that can be expanded into the full snippet when the user presses Tab.

Return value

Returns: utf8
 

A string or NULL.

 The data is owned by the instance.
 The return value can be NULL.
 The string is a NUL terminated UTF-8 string.