Package: gtk

Function gtk-css-provider-load-from-data

Lambda List

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

Arguments

provider -- a gtk-css-provider object
data -- a string with the CSS data

Return Value

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

Details

Loads data 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