Method
Gtk.CssProvider.load_named
Declaration [src]
void
gtk_css_provider_load_named (
GtkCssProvider* provider,
const char* name,
const char* variant
)
Description [src]
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
name |
const char* |
A theme name |
|
Ownership is not transferred to the callee | |
The string is a NUL terminated UTF-8 string | |
variant |
const char* |
variant to load, for example, “dark”, or
|
|
Can be NULL | |
Ownership is not transferred to the callee | |
The string is a NUL terminated UTF-8 string |