Method

GtkSourceSnippetset_language_id

Declaration

void
gtk_source_snippet_set_language_id (
  GtkSourceSnippet* snippet,
  const gchar* language_id
)

Description

Sets the language identifier for the snippet.

This should match the GtkSourceLanguage:id identifier.

Parameters

language_id const gchar*
 

The language identifier for the snippet.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.