Hildon::Seekbar Class Reference

#include <seekbar.h>

Inheritance diagram for Hildon::Seekbar:

Scale List of all members.

Public Member Functions

virtual ~Seekbar ()
HildonSeekbar * gobj ()
 Provides access to the underlying C GtkObject.
const HildonSeekbar * gobj () const
 Provides access to the underlying C GtkObject.
 Seekbar ()
int get_total_time () const
void set_total_time (int time)
 Set total playing time of media in seconds.
int get_position () const
 Get current position in stream in seconds.
void set_position (int time)
 Set current position in stream in seconds.
void set_fraction (guint fraction)
 Set current fraction value of the range.
guint get_fraction () const
 Get current fraction value of the rage.

Related Functions

(Note that these are not member functions.)

Hildon::Seekbarwrap (HildonSeekbar *object, bool take_copy=false)

Constructor & Destructor Documentation

virtual Hildon::Seekbar::~Seekbar  )  [virtual]
 

Hildon::Seekbar::Seekbar  ) 
 


Member Function Documentation

guint Hildon::Seekbar::get_fraction  )  const
 

Get current fraction value of the rage.

Returns:
Current fraction.

int Hildon::Seekbar::get_position  )  const
 

Get current position in stream in seconds.

Returns:
Current position in stream in seconds.

int Hildon::Seekbar::get_total_time  )  const
 

Returns:
Total playing time of media in seconds.

const HildonSeekbar* Hildon::Seekbar::gobj  )  const [inline]
 

Provides access to the underlying C GtkObject.

HildonSeekbar* Hildon::Seekbar::gobj  )  [inline]
 

Provides access to the underlying C GtkObject.

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.

Parameters:
fraction The new position of the progress indicator.

void Hildon::Seekbar::set_position int  time  ) 
 

Set current position in stream in seconds.

Parameters:
time Time within range of >= 0 && < G_MAXINT.

void Hildon::Seekbar::set_total_time int  time  ) 
 

Set total playing time of media in seconds.

Parameters:
time Integer greater than zero.


Friends And Related Function Documentation

Hildon::Seekbar * wrap HildonSeekbar *  object,
bool  take_copy = false
[related]
 

Parameters:
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.
Returns:
A C++ instance that wraps this C instance.


The documentation for this class was generated from the following file:
Generated on Wed Nov 8 17:20:41 2006 for hildon-libsmm by  doxygen 1.4.6