load_from_data


Description:

public bool load_from_data (string id, string data) throws Error

Load style information from data, using id to identify the stylesheet.

id is usually the file name of the style sheet, which is used in the search path when loading url resources.

Parameters:

this

a Style

id

identifier of the style sheet to load

data

CSS data to parse

Returns:

TRUE if the style information was loaded successfully. Returns FALSE on error.




2022 vala-language.org