Function

Gtktest_slider_set_perc

deprecated: 3.20 since: 2.14

Declaration [src]

void
gtk_test_slider_set_perc (
  GtkWidget* widget,
  double percentage
)

Description [src]

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.

Available since: 2.14

Deprecated since: 3.20

This testing infrastructure is phased out in favor of reftests.

Parameters

widget

Type: GtkWidget

Valid widget pointer.

The data is owned by the caller of the function.
percentage

Type: double

Value between 0 and 100.