PixbufAnimation.newFromResource

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. Since 2.28

class PixbufAnimation
static
newFromResource
()

Parameters

resourcePath string

the path of the resource file

Throws

GException on failure. ConstructionException GTK+ fails to create the object.

Meta