[ CCode ( cname = "gtk_media_file_new_for_resource" , type = "GtkMediaStream*" ) ]
public static MediaFile for_resource (string resource_path)
Creates a new new media file for the given resource.
This is a utility function that converts the given resource
to a `GFile` and calls [[email protected]_for_file].
resource_path |
resource path to open |
a new `GtkMediaFile` playing |