Function

Idesource_style_scheme_get_variant

Declaration

GtkSourceStyleScheme*
ide_source_style_scheme_get_variant (
  GtkSourceStyleScheme* scheme,
  const char* variant
)

Description

Gets an alternate for a style scheme if one exists. Otherwise scheme is returned.

Parameters

scheme

Type: GtkSourceStyleScheme

A GtkSourceStyleScheme.

The data is owned by the caller of the function.
variant

Type: const char*

The alternative variant.

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

Return value

Type: GtkSourceStyleScheme

A GtkSourceStyleScheme.

The data is owned by the called function.