Method

GtkSourceStyleSchemeget_metadata

Declaration

const char*
gtk_source_style_scheme_get_metadata (
  GtkSourceStyleScheme* scheme,
  const char* name
)

Description

Gets a metadata property from the style scheme.

Available since:5.4

Parameters

name const char*
 

Metadata property name.

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

Return value

Returns: const char*
 

Value of property name stored in the metadata of scheme or NULL if scheme does not contain the specified metadata property.

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