Gtk.ScaleButton.new
function new(size:Number, min:Number, max:Number, step:Number, icons:[String]):Gtk.Widget {
// Gjs wrapper for gtk_scale_button_new()
}Creates a Gtk.ScaleButton, with a range between min and max, with a stepping of step.
Since 2.12
- size
a stock icon size
- min
the minimum value of the scale (usually 0)
- max
the maximum value of the scale (usually 100)
- step
the stepping of value when a scroll-wheel event, or up/down arrow event occurs (usually 2)
- icons
a null-terminated array of icon names, or null if you want to set the list later with Gtk.ScaleButton.prototype.set_icons
- Returns
a new Gtk.ScaleButton