load_named
Description:
[ Version ( deprecated = true , deprecated_since = "4.20" ) ]
public void load_named (string name, string? variant)
public void load_named (string name, string? variant)
Warning: load_named is deprecated since 4.20.
Loads a theme from the usual theme paths.
Note:
Using any of the other theme loaders, combine with media queries.
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 |