CssProvider.loadFromResource

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.

class CssProvider
void
loadFromResource
()

Parameters

resourcePath string

a #GResource resource path