Method

GtkSvgWidgetset_stylesheet

unstable since: 4.24

Declaration [src]

void
gtk_svg_widget_set_stylesheet (
  GtkSvgWidget* self,
  GBytes* bytes
)

Description [src]

Sets a CSS user stylesheet to use.

Note that styles are applied at load time, so this function must be called before loading SVG.

Available since: 4.24

Parameters

bytes

Type: GBytes

CSS data.

The argument can be NULL.
The data is owned by the caller of the method.