MediaFile.setFile

Sets the gtk.media_file.MediaFile to play the given file.

If any file is still playing, stop playing it.

class MediaFile
void
setFile
()

Parameters

file gio.file.File

the file to play