newFromResource

fun newFromResource(resourcePath: String): <Error class: unknown class><Pixbuf>

Creates a new pixbuf by loading an image from an resource.

The file format is detected automatically. If NULL is returned, then

Return

A newly-created pixbuf

Since

2.26

Parameters

resourcePath

the path of the resource file