Gtk.HScale

const Gtk = imports.gi.Gtk;

let h_scale = new Gtk.HScale();
  

The Gtk.HScale widget is used to allow the user to select a value using a horizontal slider. To create one, use Gtk.new_with_range.

The position to show the current value, and the number of decimal places shown can be set using the parent Gtk.Scale class's functions.

GtkHScale has been deprecated, use Gtk.Scale instead.

Hierarchy

  • GObject.Object
    • GObject.InitiallyUnowned
      • Gtk.Widget
        • Gtk.Range
          • Gtk.Scale
            • Gtk.HScale