set_resource
Description:
Sets the `GtkMediaFile to play the given resource.
This is a utility function that converts the given resource_path
to a `GFile` and calls [method@Gtk.MediaFile.set_file].
Parameters:
this |
a `GtkMediaFile` |
resource_path |
path to resource to play |