VolumeButton

Deprecated since version 4.10: This widget will be removed in GTK 5

class VolumeButton(**properties: Any)

Superclasses: ScaleButton, Widget, InitiallyUnowned, Object

Implemented Interfaces: Accessible, AccessibleRange, Buildable, ConstraintTarget, Orientable

GtkVolumeButton is a GtkScaleButton subclass tailored for volume control.

https://docs.gtk.org/gtk4/volumebutton.png

Constructors

class VolumeButton
classmethod new() Widget

Creates a GtkVolumeButton.

The button has 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 ScaleButton.

Deprecated since version 4.10: This widget will be removed in GTK 5

Properties

class VolumeButton
props.use_symbolic: bool

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.

Deprecated since version 4.10: This widget will be removed in GTK 5

Fields

class VolumeButton
parent