load_named


Description:

public void load_named (string name, string? variant)

Loads a theme from the usual theme paths.

The actual process of finding the theme might change between releases, but it is guaranteed that this function uses the same mechanism to load the theme that GTK uses for loading its own theme.

Parameters:

this

a `GtkCssProvider`

name

A theme name

variant

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