GtkVolumeButton

GtkVolumeButton — A button which pops up a volume control

Synopsis

#include <gtk/gtk.h>

struct              GtkVolumeButton;
GtkWidget *	        gtk_volume_button_new               (void);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkWidget
               +----GtkContainer
                     +----GtkBin
                           +----GtkButton
                                 +----GtkScaleButton
                                       +----GtkVolumeButton

Implemented Interfaces

GtkVolumeButton implements AtkImplementorIface, GtkBuildable, GtkActivatable and GtkOrientable.

Properties

  "use-symbolic"             gboolean              : Read / Write

Description

GtkVolumeButton is a subclass of GtkScaleButton that has been tailored for use as a volume control widget with suitable icons, tooltips and accessible labels.

Details

struct GtkVolumeButton

struct GtkVolumeButton;


gtk_volume_button_new ()

GtkWidget *	        gtk_volume_button_new               (void);

Creates a GtkVolumeButton, with a range between 0.0 and 1.0, with a stepping of 0.02. Volume values can be obtained and modified using the functions from GtkScaleButton.

Returns :

a new GtkVolumeButton

Since 2.12

Property Details

The "use-symbolic" property

  "use-symbolic"             gboolean              : Read / Write

Whether to use symbolic icons as the icons. Note that if the symbolic icons are not available in your installed theme, then the normal (potentially colorful) icons will be used.

Default value: FALSE

Since 3.0