MediaFile.this

Creates a new media file for the given filename.

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

Parameters

filename string

filename to open

Return Value

a new GtkMediaFile playing @filename

Throws

ConstructionException GTK+ fails to create the object.

Meta