CssProvider.loadFromData

bool loadFromData(ubyte[] data)

Loads data into css_provider, and by doing so clears any previously loaded information.

Parameters

dataCSS data loaded in memory

Returns

true. The return value is deprecated and false will only be

returned for backwards compatibility reasons if an error is not null and a loading error occurred. To track errors while loading CSS, connect to the #GtkCssProvider::parsing-error signal.

Throws

[ErrorWrap]