Gtk.VolumeButton

const Gtk = imports.gi.Gtk;

let volume_button = new Gtk.VolumeButton({
    use_symbolic: value,
});
  

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

Hierarchy

  • GObject.Object
    • GObject.InitiallyUnowned
      • Gtk.Widget
        • Gtk.Container
          • Gtk.Bin
            • Gtk.Button
              • Gtk.ScaleButton
                • Gtk.VolumeButton