hildon-libs 0.14.11 Reference Manual |
---|
HildonHVolumebarHildonHVolumebar — A widget that displays a horizontal volume bar |
GtkWidget* hildon_hvolumebar_new (void);
The HildonHVolumebar widget displays a horizontal volume bar that allows increasing or decreasing volume within a pre-defined range, and includes a mute icon which users can click to mute the sound.
Here is an example that creates a horizontal volume bar and connects both its signals:
GtkWidget *volbar = hildon_hvolumebar_new()
;
g_signal_connect( G_OBJECT(volbar), "mute_toggled", G_CALLBACK(mute_toggle), NULL );
g_signal_connect( G_OBJECT(volbar), "level_changed", G_CALLBACK(level_change), NULL );
<< HildonVVolumebar | HildonSeekbar >> |