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 [[email protected]_for_file]. See that function for details.

Parameters:

resource_path

resource path to play back

Returns:

a new `GtkPicture`




2022 vala-language.org