setValue

open fun setValue(value: Double)

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 signal@Gtk.ScaleButton::value-changed signal if the value changes.

Parameters

value

new value of the scale button