load_from_data


Description:

[ Version ( deprecated = true , deprecated_since = "4.12" ) ]
public void load_from_data (uint8[] data)

Warning: load_from_data is deprecated since 4.12.

Loads data into this.

Note:

Use [method@Gtk.CssProvider.load_from_string] or [method@Gtk.CssProvider.load_from_bytes] instead

This clears any previously loaded information.

Parameters:

this

a `GtkCssProvider`

data

CSS data to be parsed

length

the length of data in bytes, or -1 for NUL terminated strings