CssProvider.getNamed

Loads a theme from the usual theme paths

class CssProvider
static
getNamed
(
string name
,
string variant
)

Parameters

name string

A theme name

variant string

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

Return Value

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

Meta