Packages
gtk4
Gtk
MediaFile
file
input_stream
empty
for_file
for_filename
for_input_stream
for_resource
MediaFile
clear
close
get_file
get_input_stream
open
set_file
set_filename
set_input_stream
set_resource
for_file
Description:
[
CCode
( cname =
"gtk_media_file_new_for_file"
, type =
"GtkMediaStream*"
) ]
public
static
MediaFile
for_file
(
File
file)
Creates a new media file to play
file
.
Parameters:
file
The file to play
Returns:
a new `GtkMediaFile` playing
file