Package: gtk

Accessor gtk:media-file-file

Lambda List

gtk:media-file-file (object)

Syntax

(gtk:media-file-file object) => file
(setf (gtk:media-file-file object) file)

Arguments

object -- a gtk:media-file object
file -- a g:file object with the file to play

Details

Accessor of the file slot of the gtk:media-file class. The gtk:media-file-file function returns the file that object is currently playing from. When object is not playing or not playing from a file, nil is returned.

The (setf gtk:media-file-file) function sets the file. If any file is still playing, stop playing it. Then start playing the given file.
 

See also

2024-10-31