newFromResource

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

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

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

Return

A newly-created animation

Since

2.28

Parameters

resourcePath

the path of the resource file