newForResource

fun newForResource(resourcePath: String? = null): Picture

Creates a new GtkPicture displaying the resource at @resource_path.

This is a utility function that calls ctor@Gtk.Picture.new_for_file. See that function for details.

Return

a new GtkPicture

Parameters

resourcePath

resource path to play back