CssProvider.loadNamed

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.

class CssProvider
void
loadNamed
(
string name
,
string variant
)

Parameters

name string

A theme name

variant string

variant to load, for example, "dark", or %NULL for the default

Meta