set_resource


Description:

public void set_resource (string? resource_path)

Sets the `GtkMediaFile to play the given resource.

This is a utility function that converts the given resource_path to a `GFile` and calls [[email protected]_file].

Parameters:

this

a `GtkMediaFile`

resource_path

path to resource to play




2022 vala-language.org