get_named


Description:

public static unowned CssProvider get_named (string name, string? variant)

Loads a theme from the usual theme paths

Parameters:

name

A theme name

variant

variant to load, for example, "dark", or null for the default

Returns:

a CssProvider with the theme loaded. This memory is owned by GTK+, and you must not free it.