load_from_data


Description:

public void load_from_data (uint8[] data)

Loads data into this.

This clears any previously loaded information.

Parameters:

this

a `GtkCssProvider`

data

CSS data loaded in memory

length

the length of data in bytes, or -1 for NUL terminated strings. If data.length is not -1, the code will assume it is not NUL terminated and will potentially do a copy.




2022 vala-language.org