Gtk.ScaleButton

const Gtk = imports.gi.Gtk;

let scale_button = new Gtk.ScaleButton({
    adjustment: value,
    icons: value,
    size: value,
    value: value,
});
  

Gtk.ScaleButton provides a button which pops up a scale widget. This kind of widget is commonly used for volume controls in multimedia applications, and GTK+ provides a Gtk.VolumeButton subclass that is tailored for this use case.

Hierarchy

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