test_slider_set_perc


Description:


[ Version ( deprecated = true , deprecated_since = "3.20" , since = "2.14" ) ]
public void test_slider_set_perc (Widget widget, double percentage)

Warning: test_slider_set_perc is deprecated since 3.20.

This function will adjust the slider position of all GtkRange based widgets, such as scrollbars or scales, it’ll also adjust spin buttons.

Note:

This testing infrastructure is phased out in favor of reftests.

The adjustment value of these widgets is set to a value between the lower and upper limits, according to the percentage argument.

Parameters:

widget

valid widget pointer.

percentage

value between 0 and 100.


Namespace: Gtk
Package: gtk+-3.0



2022 vala-language.org