load_from_resource


Description:

[ Version ( since = "3.16" ) ]
public void load_from_resource (string resource_path)

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

To track errors while loading CSS, connect to the parsing_error signal.

Parameters:

this

a CssProvider

resource_path

a Resource resource path