Function

Gtktest_slider_get_value

deprecated: 3.20 since: 2.14

Declaration [src]

double
gtk_test_slider_get_value (
  GtkWidget* widget
)

Description [src]

Retrive the literal adjustment value for GtkRange based widgets and spin buttons. Note that the value returned by this function is anything between the lower and upper bounds of the adjustment belonging to widget, and is not a percentage as passed in to gtk_test_slider_set_perc().

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.

Return value

Type: double

Gtk_adjustment_get_value (adjustment) for an adjustment belonging to widget.