GtkVolumeButton — A button which pops up a volume control
gboolean | use-symbolic | Read / Write / Construct |
struct | GtkVolumeButton |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkScaleButton ╰── GtkVolumeButton
GtkVolumeButton implements GtkAccessible, GtkBuildable, GtkConstraintTarget and GtkOrientable.
#include <gtk/gtk.h>
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.0 and 1.0, with a stepping of 0.02. Volume values can be obtained and modified using the functions from GtkScaleButton.
a new GtkVolumeButton
struct GtkVolumeButton;
“use-symbolic”
property“use-symbolic” gboolean
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.
Owner: GtkVolumeButton
Flags: Read / Write / Construct
Default value: TRUE
© 2005–2020 The GNOME Project
Licensed under the GNU Lesser General Public License version 2.1 or later.
https://developer.gnome.org/gtk4/4.0/GtkVolumeButton.html