#include <media.h>

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 media playing. | |
| bool | get_playing () const |
| Retrieves the state of media. | |
| void | set_position (int position) |
| Sets the playback position of media to position. | |
| int | get_position () const |
| Retrieves the position of media. | |
| void | set_volume (double volume) |
| Sets the playback volume of media to volume. | |
| double | get_volume () const |
| Retrieves the playback volume of media. | |
| int | get_buffer_percent () const |
| Retrieves the amount of the stream that is buffered. | |
| void | set_filename (const Glib::ustring &filename) |
| Sets the filename of the media source. | |
| bool | get_can_seek () const |
| Retrieves whether media is seekable or not. | |
| int | get_duration () const |
| Retrieves the duration of the media stream that media represents. | |
Static Public Member Functions | |
| static void | add_interface (GType gtype_implementer) |
Protected Member Functions | |
| virtual void | set_uri_vfunc (const Glib::ustring &uri) |
| virtual void | set_playing_vfunc (bool playing) |
| virtual bool | get_playing_vfunc () const |
| virtual void | set_position_vfunc (int position) |
| virtual int | get_position_vfunc () const |
| virtual void | set_volume_vfunc (double volume) |
| virtual double | get_volume_vfunc () const |
| virtual bool | can_seek_vfunc () const |
| virtual int | get_buffer_percent_vfunc () const |
| virtual int | get_duration_vfunc () const |
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] |
| ClutterMedia* Clutter::Media::gobj | ( | ) | [inline] |
Provides access to the underlying C GObject.
| const ClutterMedia* Clutter::Media::gobj | ( | ) | const [inline] |
Provides access to the underlying C GObject.
| void Clutter::Media::set_uri | ( | const Glib::ustring & | uri | ) |
Sets the uri of media to uri.
| uri | Uri. |
| Glib::ustring Clutter::Media::get_uri | ( | ) | const |
Retrieves the URI from media.
| void Clutter::Media::set_playing | ( | bool | playing = true |
) |
Starts or stops media playing.
| playing | true to start playing, false to stop. |
| bool Clutter::Media::get_playing | ( | ) | const |
Retrieves the state of media.
true if playing, false if stopped. | void Clutter::Media::set_position | ( | int | position | ) |
Sets the playback position of media to position.
| position | The desired position. |
| int Clutter::Media::get_position | ( | ) | const |
Retrieves the position of media.
| void Clutter::Media::set_volume | ( | double | volume | ) |
Sets the playback volume of media to volume.
| volume | The volume as a double between 0.0 and 1.0. |
| double Clutter::Media::get_volume | ( | ) | const |
Retrieves the playback volume of media.
| int Clutter::Media::get_buffer_percent | ( | ) | const |
Retrieves the amount of the stream that is buffered.
| void Clutter::Media::set_filename | ( | const Glib::ustring & | filename | ) |
Sets the filename of the media source.
| filename | A filename to media file. |
| bool Clutter::Media::get_can_seek | ( | ) | const |
Retrieves whether media is seekable or not.
true if media can seek, false otherwise. | int Clutter::Media::get_duration | ( | ) | const |
Retrieves the duration of the media stream that media represents.
| virtual void Clutter::Media::set_uri_vfunc | ( | const Glib::ustring & | uri | ) | [protected, virtual] |
| virtual void Clutter::Media::set_playing_vfunc | ( | bool | playing | ) | [protected, virtual] |
| virtual bool Clutter::Media::get_playing_vfunc | ( | ) | const [protected, virtual] |
| virtual void Clutter::Media::set_position_vfunc | ( | int | position | ) | [protected, virtual] |
| virtual int Clutter::Media::get_position_vfunc | ( | ) | const [protected, virtual] |
| virtual void Clutter::Media::set_volume_vfunc | ( | double | volume | ) | [protected, virtual] |
| virtual double Clutter::Media::get_volume_vfunc | ( | ) | const [protected, virtual] |
| virtual bool Clutter::Media::can_seek_vfunc | ( | ) | const [protected, virtual] |
| virtual int Clutter::Media::get_buffer_percent_vfunc | ( | ) | const [protected, virtual] |
| virtual int Clutter::Media::get_duration_vfunc | ( | ) | const [protected, virtual] |
| 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.5.5