MediaFile

constructor()

Creates a new empty media file.

Return

a new GtkMediaFile


constructor(file: <Error class: unknown class>)

Creates a new media file to play @file.

Return

a new GtkMediaFile playing @file

Parameters

file

The file to play


constructor(filename: String)

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.

Return

a new GtkMediaFile playing @filename

Parameters

filename

filename to open


constructor(stream: <Error class: unknown class>)

Creates a new media file to play @stream.

If you want the resulting media to be seekable, the stream should implement the GSeekable interface.

Return

a new GtkMediaFile

Parameters

stream

The stream to play


constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)