Inherits Glib::Interface.

Public Member Functions | |
| virtual | ~Media () |
| ClutterMedia* | gobj () |
| Provides access to the underlying C GObject. | |
| const ClutterMedia* | gobj () const |
| Provides access to the underlying C GObject. | |
| void | set_uri (const Glib::ustring& uri) |
| Sets the URI of media to uri. | |
| Glib::ustring | get_uri () const |
| Retrieves the URI from media. | |
| void | set_playing (bool playing=true) |
| Starts or stops playing of media. | |
| bool | get_playing () const |
| Retrieves the playing status of media. | |
| void | set_progress (double progress) |
| Sets the playback progress of media. | |
| double | get_progress () const |
| Retrieves the playback progress of media. | |
| void | set_subtitle_uri (const gchar* uri) |
| Sets the location of a subtitle file to display while playing media. | |
| std::string | get_subtitle_uri () const |
| Retrieves the URI of the subtitle file in use. | |
| void | set_subtitle_font_name (const std::string& font_name) |
| Sets the font used by the subtitle renderer. | |
| std::string | get_subtitle_font_name () const |
| Retrieves the font name currently used. | |
| void | set_audio_volume (double volume) |
| Sets the playback volume of media to volume. | |
| double | get_audio_volume () const |
| Retrieves the playback volume of media. | |
| double | get_buffer_percent () const |
| Retrieves the amount of the stream that is buffered. | |
| void | set_filename (const Glib::ustring& filename) |
| Sets the source of media using a file path. | |
| bool | get_can_seek () const |
| Retrieves whether media is seekable or not. | |
| double | get_duration () const |
| Retrieves the duration of the media stream that media represents. | |
| Glib::SignalProxy0< void > | signal_eos () |
| Glib::PropertyProxy_ReadOnly < double > | property_buffer_fill () const |
| The fill level of the buffer. | |
| Glib::PropertyProxy_ReadOnly < bool > | property_can_seek () const |
| Whether the current stream is seekable. | |
| Glib::PropertyProxy_ReadOnly < guint > | property_duration () const |
| The duration of the stream, in seconds. | |
| Glib::PropertyProxy< bool > | property_playing () |
| Wheter the actor is playing. | |
| Glib::PropertyProxy_ReadOnly < bool > | property_playing () const |
| Wheter the actor is playing. | |
| Glib::PropertyProxy< double > | property_progress () |
| Current progress of the playback. | |
| Glib::PropertyProxy_ReadOnly < double > | property_progress () const |
| Current progress of the playback. | |
| Glib::PropertyProxy < Glib::ustring > | property_uri () |
| URI of a media file. | |
| Glib::PropertyProxy_ReadOnly < Glib::ustring > | property_uri () const |
| URI of a media file. | |
| Glib::PropertyProxy< double > | property_audio_volume () |
| The volume of the audio. | |
| Glib::PropertyProxy_ReadOnly < double > | property_audio_volume () const |
| The volume of the audio. | |
Static Public Member Functions | |
| static void | add_interface (GType gtype_implementer) |
Protected Member Functions | |
| virtual void | on_eos () |
Related Functions | |
(Note that these are not member functions.) | |
| Glib::RefPtr< Clutter::Media > | wrap (ClutterMedia* object, bool take_copy=false) |
| A Glib::wrap() method for this object. | |
| virtual Clutter::Media::~Media | ( | ) | [virtual] |
| static void Clutter::Media::add_interface | ( | GType | gtype_implementer | ) | [static] |
| double Clutter::Media::get_audio_volume | ( | ) | const |
Retrieves the playback volume of media.
| double Clutter::Media::get_buffer_percent | ( | ) | const |
Retrieves the amount of the stream that is buffered.
| bool Clutter::Media::get_can_seek | ( | ) | const |
Retrieves whether media is seekable or not.
true if media can seek, false otherwise. | double Clutter::Media::get_duration | ( | ) | const |
Retrieves the duration of the media stream that media represents.
| bool Clutter::Media::get_playing | ( | ) | const |
Retrieves the playing status of media.
true if playing, false if stopped. | double Clutter::Media::get_progress | ( | ) | const |
Retrieves the playback progress of media.
| std::string Clutter::Media::get_subtitle_font_name | ( | ) | const |
Retrieves the font name currently used.
| std::string Clutter::Media::get_subtitle_uri | ( | ) | const |
Retrieves the URI of the subtitle file in use.
| Glib::ustring Clutter::Media::get_uri | ( | ) | const |
Retrieves the URI from media.
| const ClutterMedia* Clutter::Media::gobj | ( | ) | const [inline] |
Provides access to the underlying C GObject.
Reimplemented from Glib::Interface.
| ClutterMedia* Clutter::Media::gobj | ( | ) | [inline] |
Provides access to the underlying C GObject.
Reimplemented from Glib::Interface.
| virtual void Clutter::Media::on_eos | ( | ) | [protected, virtual] |
| Glib::PropertyProxy_ReadOnly<double> Clutter::Media::property_audio_volume | ( | ) | const |
The volume of the audio.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
| Glib::PropertyProxy<double> Clutter::Media::property_audio_volume | ( | ) |
The volume of the audio.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
| Glib::PropertyProxy_ReadOnly<double> Clutter::Media::property_buffer_fill | ( | ) | const |
The fill level of the buffer.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
| Glib::PropertyProxy_ReadOnly<bool> Clutter::Media::property_can_seek | ( | ) | const |
Whether the current stream is seekable.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
| Glib::PropertyProxy_ReadOnly<guint> Clutter::Media::property_duration | ( | ) | const |
The duration of the stream, in seconds.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
| Glib::PropertyProxy_ReadOnly<bool> Clutter::Media::property_playing | ( | ) | const |
Wheter the actor is playing.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
| Glib::PropertyProxy<bool> Clutter::Media::property_playing | ( | ) |
Wheter the actor is playing.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
| Glib::PropertyProxy_ReadOnly<double> Clutter::Media::property_progress | ( | ) | const |
Current progress of the playback.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
| Glib::PropertyProxy<double> Clutter::Media::property_progress | ( | ) |
Current progress of the playback.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
| Glib::PropertyProxy_ReadOnly<Glib::ustring> Clutter::Media::property_uri | ( | ) | const |
URI of a media file.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
| Glib::PropertyProxy<Glib::ustring> Clutter::Media::property_uri | ( | ) |
URI of a media file.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
| void Clutter::Media::set_audio_volume | ( | double | volume | ) |
Sets the playback volume of media to volume.
| volume | The volume as a double between 0.0 and 1.0. |
| void Clutter::Media::set_filename | ( | const Glib::ustring & | filename | ) |
| void Clutter::Media::set_playing | ( | bool | playing = true |
) |
| void Clutter::Media::set_progress | ( | double | progress | ) |
Sets the playback progress of media.
The progress is a normalized value between 0.0 (begin) and 1.0 (end).
| progress | The progress of the playback, between 0.0 and 1.0. |
| void Clutter::Media::set_subtitle_font_name | ( | const std::string & | font_name | ) |
Sets the font used by the subtitle renderer.
The font_name string must be either 0, 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"); ]|
| font_name | A font name, or 0 to set the default font name. |
| void Clutter::Media::set_subtitle_uri | ( | const gchar * | uri | ) |
Sets the location of a subtitle file to display while playing media.
| uri | The URI of a subtitle file. |
| void Clutter::Media::set_uri | ( | const Glib::ustring & | uri | ) |
| Glib::SignalProxy0< void > Clutter::Media::signal_eos | ( | ) |
void on_my_eos() | Glib::RefPtr< Clutter::Media > wrap | ( | ClutterMedia * | object, | |
| bool | take_copy = false | |||
| ) | [related] |
A Glib::wrap() method for this object.
| object | The C instance. | |
| take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
1.6.3