CssProvider.loadFromResource

void loadFromResource(string resourcePath)

Loads the data contained in the resource at resource_path into the #GtkCssProvider, clearing any previously loaded information.

To track errors while loading CSS, connect to the #GtkCssProvider::parsing-error signal.

Parameters

resourcePatha #GResource resource path