| Maeomm Reference Documentation: hildonsmm |
Inheritance diagram for Hildon::Seekbar:

It supports the setting or getting of the length (total time) of the media, the position within it and the fraction (maximum position in a stream/the amount currently downloaded). The position is clamped between zero and the total time, or zero and the fraction in case of a stream.
Public Member Functions | ||||
| guint | get_fraction () const | |||
| Get current fraction value of the rage. | ||||
| int | get_position () const | |||
| Get current position in stream in seconds. | ||||
| int | get_total_time () const | |||
| ||||
| const HildonSeekbar* | gobj () const | |||
| Provides access to the underlying C GtkObject. | ||||
| HildonSeekbar* | gobj () | |||
| Provides access to the underlying C GtkObject. | ||||
| Seekbar () | ||||
| void | set_fraction (guint fraction) | |||
| Set current fraction value of the range. | ||||
| void | set_position (int time) | |||
| Set current position in stream in seconds. | ||||
| void | set_total_time (int time) | |||
| Set total playing time of media in seconds. | ||||
| virtual | ~Seekbar () | |||
Related Functions | ||||
| (Note that these are not member functions.) | ||||
| Hildon::Seekbar* | wrap (HildonSeekbar* object, bool take_copy=false) | |||
| ||||
| virtual Hildon::Seekbar::~Seekbar | ( | ) | [virtual] |
| Hildon::Seekbar::Seekbar | ( | ) |
| guint Hildon::Seekbar::get_fraction | ( | ) | const |
Get current fraction value of the rage.
| int Hildon::Seekbar::get_position | ( | ) | const |
Get current position in stream in seconds.
| int Hildon::Seekbar::get_total_time | ( | ) | const |
| const HildonSeekbar* Hildon::Seekbar::gobj | ( | ) | const [inline] |
| HildonSeekbar* Hildon::Seekbar::gobj | ( | ) | [inline] |
| void Hildon::Seekbar::set_fraction | ( | guint | fraction | ) |
Set current fraction value of the range.
It should be between the minimal and maximal values of the range in seekbar.
| fraction | The new position of the progress indicator. |
| void Hildon::Seekbar::set_position | ( | int | time | ) |
Set current position in stream in seconds.
| time | Time within range of >= 0 && < G_MAXINT. |
| void Hildon::Seekbar::set_total_time | ( | int | time | ) |
Set total playing time of media in seconds.
| time | Integer greater than zero. |
| Hildon::Seekbar* wrap | ( | HildonSeekbar * | object, | |
| bool | take_copy = false | |||
| ) | [related] |
| 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. |