Gtk.ScaleButton.prototype.set_value

function set_value(value:Number):void {
    // Gjs wrapper for gtk_scale_button_set_value()
}

Sets the current value of the scale; if the value is outside the minimum or maximum range values, it will be clamped to fit inside them. The scale button emits the Gtk.value-changed signal if the value changes.

Since 2.12

value

new value of the scale button