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
-
-
-
-
-
Methods
- Gtk.ScaleButton.prototype.get_adjustment
- Gtk.ScaleButton.prototype.get_minus_button
- Gtk.ScaleButton.prototype.get_plus_button
- Gtk.ScaleButton.prototype.get_popup
- Gtk.ScaleButton.prototype.get_value
- Gtk.ScaleButton.prototype.set_adjustment
- Gtk.ScaleButton.prototype.set_icons
- Gtk.ScaleButton.prototype.set_value