test_slider_set_perc

function test_slider_set_perc(widget:Gtk.Widget, percentage:Number):void {
    // Gjs wrapper for gtk_test_slider_set_perc()
}

This function will adjust the slider position of all GtkRange based widgets, such as scrollbars or scales, it'll also adjust spin buttons. The adjustment value of these widgets is set to a value between the lower and upper limits, according to the percentage argument.

Since 2.14

widget

valid widget pointer.

percentage

value between 0 and 100.