MediaFile.setFilename

Sets the `GtkMediaFile to play the given file.

This is a utility function that converts the given @filename to a GFile and calls [method@Gtk.MediaFile.set_file].

class MediaFile
void
setFilename
(
string filename
)

Parameters

filename string

name of file to play

Meta