Picture.newForResource

gtk.picture.Picture newForResource(string resourcePath = null)

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.

Parameters

resourcePathresource path to play back

Returns

a new [gtk.picture.Picture]