Method

GtkCssProviderload_from_data

deprecated: 4.12 

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

Type: const char*

CSS data to be parsed.

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

Type: gssize

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