hildon 1.0.17 Reference Manual | ||||
---|---|---|---|---|
HildonHVolumebar; GtkWidget* hildon_hvolumebar_new (void);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----HildonVolumebar +----HildonHVolumebar
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.
Example 6.
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);
GtkWidget* hildon_hvolumebar_new (void);
Creates a new HildonHVolumebar widget.
Returns : | a new HildonHVolumebar |