CssProvider.loadFromResource

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

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

class CssProvider
void
loadFromResource
()

Parameters

resourcePath string

a gio.Resource resource path

Meta

Since

3.16