| GTK+ Reference Manual | ||||
|---|---|---|---|---|
#include <gtk/gtk.h>
GtkVolumeButton;
GtkWidget* gtk_volume_button_new (void);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkButton +----GtkScaleButton +----GtkVolumeButton
GtkVolumeButton is a subclass of GtkScaleButton that has been tailored for use as a volume control widget with suitable icons, tooltips and accessible labels.
GtkWidget* gtk_volume_button_new (void);
Creates a GtkVolumeButton, with a range between 0 and 100, with a stepping of 2. Volume values can be obtained and modified using the functions from GtkScaleButton.
Returns : |
a new GtkVolumeButton |
Since 2.12