PixbufAnimation.from_resource


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "2.28" ) ]
public PixbufAnimation.from_resource (string resource_path) throws Error

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:

resource_path

the path of the resource file

Returns:

A newly-created animation