CssProvider.loadFromData

Loads data into css_provider, making it clear any previously loaded information.

class CssProvider
int
loadFromData
(
string data
)

Parameters

data string

CSS data loaded in memory. [array length=length][element-type guint8]

Return Value

Type: int

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 occured. To track errors while loading CSS, connect to the GtkCssProvider::parsing-error signal.

Throws

GException on failure.

Meta