Hildon Reference Manual | ||||
---|---|---|---|---|
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----HildonVolumebar +----HildonVVolumebar
HildonVVolumebar is a subclass of HildonVolumebar. It displays a vertical volume bar that allows increasing or decreasing volume within a predefined range, and muting when users click the mute icon.
HildonVVolumebar has been deprecated since Hildon 2.2 and should not be used in newly written code. See Migrating Volume Bars section to know how to migrate this deprecated widget.
Here is an example that creates a vertical volume bar and connects both its signals.
Example 18. HildonVVolumebar example
GtkWidget *volbar = hildon_vvolumebar_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);
typedef struct _HildonVVolumebar HildonVVolumebar;
HildonVVolumebar
is deprecated and should not be used in newly-written code.
GtkWidget* hildon_vvolumebar_new (void);
hildon_vvolumebar_new
is deprecated and should not be used in newly-written code.
Creates a new HildonVVolumebar widget.
Returns : | a new HildonVVolumebar |