load_from_path


Description:

public bool load_from_path (string path) throws Error

Loads the data contained in path into this, making it clear any previously loaded information.

Parameters:

this

a CssProvider

path

the path of a filename to load, in the GLib filename encoding

Returns:

true. The return value is deprecated and false will only be returned for backwards compatibility reasons if an throws is not null and a loading error occurred. To track errors while loading CSS, connect to the parsing_error signal.