:right-sidebar: True VolumeButton =================================================================== .. currentmodule:: gi.repository.Gtk .. deprecated:: 4.10 This widget will be removed in GTK 5 .. class:: VolumeButton(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.Gtk.ScaleButton`, :class:`~gi.repository.Gtk.Widget`, :class:`~gi.repository.GObject.InitiallyUnowned`, :class:`~gi.repository.GObject.Object` Implemented Interfaces: :class:`~gi.repository.Gtk.Accessible`, :class:`~gi.repository.Gtk.AccessibleRange`, :class:`~gi.repository.Gtk.Buildable`, :class:`~gi.repository.Gtk.ConstraintTarget`, :class:`~gi.repository.Gtk.Orientable` ``GtkVolumeButton`` is a ``GtkScaleButton`` subclass tailored for volume control. .. image:: https://docs.gtk.org/gtk4/volumebutton.png Constructors ------------ .. rst-class:: interim-class .. class:: VolumeButton :no-index: .. classmethod:: new() -> ~gi.repository.Gtk.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 :obj:`~gi.repository.Gtk.ScaleButton`\. .. deprecated:: 4.10 This widget will be removed in GTK 5 Properties ---------- .. rst-class:: interim-class .. class:: VolumeButton :no-index: .. attribute:: props.use_symbolic :type: bool The type of the None singleton. .. deprecated:: 4.10 This widget will be removed in GTK 5 Fields ------ .. rst-class:: interim-class .. class:: VolumeButton :no-index: .. attribute:: parent