Method

IdeSnippetget_language

Declaration

const gchar*
ide_snippet_get_language (
  IdeSnippet* self
)

Description

Gets the language used for the source snippet.

The language identifier matches the GtkSourceLanguage:id property.

Available since:3.32

Return value

Returns: const gchar*
 

The language identifier.

 The data is owned by the instance.
 The string is a NUL terminated UTF-8 string.