Picture.for_resource


Description:

[ CCode ( has_construct_function = false , type = "GtkWidget*" ) ]
public Picture.for_resource (string? resource_path)

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.

Parameters:

resource_path

resource path to play back

Returns:

a new `GtkPicture`