Constructor

GtkPathPaintablenew_from_resource

unstable since: 4.22

Declaration [src]

GtkPathPaintable*
gtk_path_paintable_new_from_resource (
  const char* path
)

Description [src]

Parses the resource and creates a paintable.

The supported format is a subset of SVG. See icon-format.md for details.

Available since: 4.22

Parameters

path

Type: const char*

The resource path.

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

Return value

Type: GtkPathPaintable

The paintable.

The caller of the function takes ownership of the data, and is responsible for freeing it.