Function
Idesource_style_scheme_get_variant
since: 45
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.
Available since: 45
Parameters
scheme-
Type:
GtkSourceStyleSchemeA
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. |