Hildon::Controlbar Class Reference

#include <controlbar.h>

Inheritance diagram for Hildon::Controlbar:

Scale List of all members.

Public Member Functions

virtual ~Controlbar ()
HildonControlbar * gobj ()
 Provides access to the underlying C GtkObject.
const HildonControlbar * gobj () const
 Provides access to the underlying C GtkObject.
 Controlbar ()
void set_value (int value)
 Change the current value of the control bar to the specified value.
int get_value () const
int get_max () const
int get_min () const
void set_max (int max)
 Set the control bar's maximum to the given value.
void set_min (int min)
 Set the control bar's minimum to the given value.
void set_range (int min, int max)
 Set the controlbars range to the given value.
Glib::SignalProxy1< void,
bool > 
signal_end_reached ()

Related Functions

(Note that these are not member functions.)

Hildon::Controlbarwrap (HildonControlbar *object, bool take_copy=false)

Constructor & Destructor Documentation

virtual Hildon::Controlbar::~Controlbar  )  [virtual]
 

Hildon::Controlbar::Controlbar  ) 
 


Member Function Documentation

int Hildon::Controlbar::get_max  )  const
 

Returns:
Maximum value of control bar.

int Hildon::Controlbar::get_min  )  const
 

Returns:
Minimum value of controlbar.

int Hildon::Controlbar::get_value  )  const
 

Returns:
Current value as int.

const HildonControlbar* Hildon::Controlbar::gobj  )  const [inline]
 

Provides access to the underlying C GtkObject.

HildonControlbar* Hildon::Controlbar::gobj  )  [inline]
 

Provides access to the underlying C GtkObject.

void Hildon::Controlbar::set_max int  max  ) 
 

Set the control bar's maximum to the given value.

If the new maximum is smaller than current value, the value will be adjusted so that it equals the new maximum.

Parameters:
max Maximum value to set. The value needs to be greater than 0.

void Hildon::Controlbar::set_min int  min  ) 
 

Set the control bar's minimum to the given value.

If the new minimum is smaller than current value, the value will be adjusted so that it equals the new minimum.

Parameters:
min Minimum value to set. The value needs to be greater than or equal to 0.

void Hildon::Controlbar::set_range int  min,
int  max
 

Set the controlbars range to the given value.

If the new maximum is smaller than current value, the value will be adjusted so that it equals the new maximum.

If the new minimum is smaller than current value, the value will be adjusted so that it equals the new minimum.

Parameters:
max Maximum value to set. The value needs to be greater than 0.
min Minimum value to set. The value needs to be greater than or equal to 0.

void Hildon::Controlbar::set_value int  value  ) 
 

Change the current value of the control bar to the specified value.

Parameters:
value Value in range of >= 0 && < G_MAX_INT.

Glib::SignalProxy1< void,bool > Hildon::Controlbar::signal_end_reached  ) 
 


Friends And Related Function Documentation

Hildon::Controlbar * wrap HildonControlbar *  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