Method

GtkSourceLanguageget_style_name

Declaration

const gchar*
gtk_source_language_get_style_name (
  GtkSourceLanguage* language,
  const gchar* style_id
)

Description

Returns the name of the style with ID style_id defined by this language.

Parameters

style_id const gchar*
 

A style ID.

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

Return value

Returns: const gchar*
 

The name of the style with ID style_id defined by this language or NULL if the style has no name or there is no style with ID style_id defined by this language. The returned string is owned by the language and must not be modified.

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