Function
GtkCssProviderget_named
Declaration [src]
GtkCssProvider*
gtk_css_provider_get_named (
const gchar* name,
const gchar* variant
)
Parameters
name-
Type:
const gchar*A theme name.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. variant-
Type:
const gchar*Variant to load, for example, “dark”, or
NULLfor the default.The argument can be NULL.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: GtkCssProvider
A GtkCssProvider with the theme loaded.
This memory is owned by GTK+, and you must not free it.
| The data is owned by the called function. |