Picture.newForResource

Creates a new gtk.picture.Picture displaying the resource at resource_path.

This is a utility function that calls gtk.picture.Picture.newForFile. See that function for details.

class Picture
static
newForResource
(
string resourcePath = null
)

Parameters

resourcePath string

resource path to play back

Return Value

Type: gtk.picture.Picture