Package: gtk

Function gtk-css-provider-load-from-file

Lambda List

gtk-css-provider-load-from-file (provider file)

Arguments

provider -- a gtk-css-provider object
file -- a g-file object pointing to a file to load

Return Value

True. The return value is deprecated and false will only be returned for backwards compatibility reasons if an error occured.

Details

Loads the data contained in file into the CSS provider, making it clear any previously loaded information. To track errors while loading CSS, connect to the "parsing-error" signal of the gtk-css-provider object.
 

See also

2021-11-18