Hildon::Volumebar Class Reference

#include <volumebar.h>

Inheritance diagram for Hildon::Volumebar:

Container Hildon::HVolumebar Hildon::VVolumebar List of all members.

Public Member Functions

virtual ~Volumebar ()
HildonVolumebar * gobj ()
 Provides access to the underlying C GtkObject.
const HildonVolumebar * gobj () const
 Provides access to the underlying C GtkObject.
 Volumebar ()
void set_level (double level)
 Sets new volume level for this Hildon::Volumebar.
double get_level () const
 Gets the volume level of this Hildon::Volumebar.
void set_mute (bool mute=true)
 Sets mute status for this Hildon::Volumebar.
bool get_mute () const
 Gets mute status of this Hildon::Volumebar (ON/OFF).
void level_change ()
 Emits "level_changed" signal to the given volume bar.
Gtk::Adjustment * get_adjustment ()
 Gets the GtkAdjustment used in volume bar.
const Gtk::Adjustment * get_adjustment () const
 Gets the GtkAdjustment used in volume bar.
Glib::SignalProxy0< void > signal_mute_toggled ()
Glib::SignalProxy0< void > signal_level_changed ()

Related Functions

(Note that these are not member functions.)

Hildon::Volumebarwrap (HildonVolumebar *object, bool take_copy=false)

Constructor & Destructor Documentation

virtual Hildon::Volumebar::~Volumebar  )  [virtual]
 

Hildon::Volumebar::Volumebar  ) 
 


Member Function Documentation

const Gtk::Adjustment* Hildon::Volumebar::get_adjustment  )  const
 

Gets the GtkAdjustment used in volume bar.

This can be handy to give to hildon_appview_set_connected_adjustment which will allow changing the volume with increase / decrease hardware buttons.

This is a temporary solution until volume bar is restructured to be a child class of GtkRange.

Returns:
A Gtk::Adjustment used by volume bar.

Gtk::Adjustment* Hildon::Volumebar::get_adjustment  ) 
 

Gets the GtkAdjustment used in volume bar.

This can be handy to give to hildon_appview_set_connected_adjustment which will allow changing the volume with increase / decrease hardware buttons.

This is a temporary solution until volume bar is restructured to be a child class of GtkRange.

Returns:
A Gtk::Adjustment used by volume bar.

double Hildon::Volumebar::get_level  )  const
 

Gets the volume level of this Hildon::Volumebar.

Returns:
Volume level or -1 on error.

bool Hildon::Volumebar::get_mute  )  const
 

Gets mute status of this Hildon::Volumebar (ON/OFF).

Returns:
Mute status as bool value.

const HildonVolumebar* Hildon::Volumebar::gobj  )  const [inline]
 

Provides access to the underlying C GtkObject.

Reimplemented in Hildon::HVolumebar, and Hildon::VVolumebar.

HildonVolumebar* Hildon::Volumebar::gobj  )  [inline]
 

Provides access to the underlying C GtkObject.

Reimplemented in Hildon::HVolumebar, and Hildon::VVolumebar.

void Hildon::Volumebar::level_change  ) 
 

Emits "level_changed" signal to the given volume bar.

This function is mainly used by derived classes.

void Hildon::Volumebar::set_level double  level  ) 
 

Sets new volume level for this Hildon::Volumebar.

Parameters:
level New level.

void Hildon::Volumebar::set_mute bool  mute = true  ) 
 

Sets mute status for this Hildon::Volumebar.

Parameters:
mute Mute ON/OFF.

Glib::SignalProxy0< void > Hildon::Volumebar::signal_level_changed  ) 
 

Glib::SignalProxy0< void > Hildon::Volumebar::signal_mute_toggled  ) 
 


Friends And Related Function Documentation

Hildon::Volumebar * wrap HildonVolumebar *  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