Method

GtkCssProviderload_from_data

Declaration [src]

void
gtk_css_provider_load_from_data (
  GtkCssProvider* css_provider,
  const char* data,
  gssize length
)

Description [src]

Loads data into css_provider.

This clears any previously loaded information.

Parameters

data const char*
 

CSS data to be parsed.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
length gssize
 

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