Import line: | Clutter = imports.gi.Clutter; |
GIR File: | Clutter-1.0.gir |
C documentation: | ClutterMedia |
Interface : | Media |
Properties | Defined By | |
---|---|---|
audio_volume : gdouble
The volume of the audio, as a normalized value between
0.0 and 1.0. The volume of the audio, as a normalized value between
0.0 and 1.0. |
Clutter.Media | |
buffer_fill : gdouble
read only
The fill level of the buffer for the current stream,
as a value between 0.0 and 1.0. The fill level of the buffer for the current stream,
as a value between 0.0 and 1.0. |
Clutter.Media | |
can_seek : gboolean
read only
Whether the current stream is seekable.
Whether the current stream is seekable.
|
Clutter.Media | |
duration : gdouble
read only
The duration of the current stream, in seconds
The duration of the current stream, in seconds
|
Clutter.Media | |
playing : gboolean
Whether the ClutterMedia actor is playing.
Whether the ClutterMedia actor is playing.
|
Clutter.Media | |
progress : gdouble
The current progress of the playback, as a normalized
value between 0.0 and 1.0. The current progress of the playback, as a normalized
value between 0.0 and 1.0. |
Clutter.Media | |
subtitle_font_name : String
The font used to display subtitles.
The font used to display subtitles. The font description has to
follow the same grammar as the one recognized by pango_font_description_from_string(). |
Clutter.Media | |
subtitle_uri : String
The location of a subtitle file, expressed as a valid URI.
The location of a subtitle file, expressed as a valid URI.
|
Clutter.Media | |
uri : String
The location of a media file, expressed as a valid URI.
The location of a media file, expressed as a valid URI.
|
Clutter.Media |
Method / Constructor | Defined By | |
---|---|---|
get_audio_volume
()
:
gdouble
Retrieves the playback volume of media.
Retrieves the playback volume of media.
|
Clutter.Media | |
get_buffer_fill
()
:
gdouble
Retrieves the amount of the stream that is buffered.
Retrieves the amount of the stream that is buffered.
|
Clutter.Media | |
get_can_seek
()
:
gboolean
Retrieves whether media is seekable or not.
Retrieves whether media is seekable or not.
|
Clutter.Media | |
get_duration
()
:
gdouble
Retrieves the duration of the media stream that media represents.
Retrieves the duration of the media stream that media represents.
|
Clutter.Media | |
get_playing
()
:
gboolean
Retrieves the playing status of media.
Retrieves the playing status of media.
|
Clutter.Media | |
get_progress
()
:
gdouble
Retrieves the playback progress of media.
Retrieves the playback progress of media.
|
Clutter.Media | |
get_subtitle_font_name
()
:
String
Retrieves the font name currently used.
Retrieves the font name currently used.
to free the returned string
|
Clutter.Media | |
get_subtitle_uri
()
:
String
Retrieves the URI of the subtitle file in use.
Retrieves the URI of the subtitle file in use.
to free the returned string
|
Clutter.Media | |
get_uri
()
:
String
Retrieves the URI from media.
Retrieves the URI from media.
to free the returned string
|
Clutter.Media | |
set_audio_volume
(gdouble volume)
:
none
Sets the playback volume of media to volume.
Sets the playback volume of media to volume.
|
Clutter.Media | |
set_filename
(String filename)
:
none
Sets the source of media using a file path.
Sets the source of media using a file path.
|
Clutter.Media | |
set_playing
(gboolean playing)
:
none
Starts or stops playing of media.
Starts or stops playing of media.
|
Clutter.Media | |
set_progress
(gdouble progress)
:
none
Sets the playback progress of media.
Sets the playback progress of media. The progress is
a normalized value between 0.0 (begin) and 1.0 (end).
|
Clutter.Media | |
set_subtitle_font_name
(String font_name)
:
none
Sets the font used by the subtitle renderer.
Sets the font used by the subtitle renderer. The font_name string must be
either NULL, which means that the default font name of the underlying implementation will be used; or must follow the grammar recognized by pango_font_description_from_string() like: |[ clutter_media_set_subtitle_font_name (media, "Sans 24pt"); ]|
|
Clutter.Media | |
set_subtitle_uri
(String uri)
:
none
Sets the location of a subtitle file to display while playing media.
Sets the location of a subtitle file to display while playing media.
|
Clutter.Media | |
set_uri
(String uri)
:
none
Sets the URI of media to uri.
Sets the URI of media to uri.
|
Clutter.Media |
Event | Defined By | |
---|---|---|
eos (Media self)
:
none
The ::eos signal is emitted each time the media stream ends.
The ::eos signal is emitted each time the media stream ends.
|
Clutter.Media | |
The ::error signal is emitted each time an error occurred.
The ::error signal is emitted each time an error occurred.
|
Clutter.Media |