pub fn test_slider_set_perc(widget: &impl IsA<Widget>, percentage: f64)
Expand description

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.

Deprecated since 3.20

This testing infrastructure is phased out in favor of reftests.

widget

valid widget pointer.

percentage

value between 0 and 100.