for_filename
Description:
[ CCode ( cname = "gtk_media_file_new_for_filename" , type = "GtkMediaStream*" ) ]
public static MediaFile for_filename (string filename)
public static MediaFile for_filename (string filename)
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 |
filename to open |
Returns:
a new `GtkMediaFile` playing |