PixbufAnimation.newFromResource

gdkpixbuf.pixbuf_animation.PixbufAnimation newFromResource(string resourcePath)

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

The file format is detected automatically. If NULL is returned, then error will be set.

Parameters

resourcePaththe path of the resource file

Returns

A newly-created animation

Throws

[ErrorWrap]