pub fn test_slider_get_value(widget: &impl IsA<Widget>) -> f64
Expand description

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 test_slider_set_perc().

Deprecated since 3.20

This testing infrastructure is phased out in favor of reftests.

widget

valid widget pointer.

Returns

gtk_adjustment_get_value (adjustment) for an adjustment belonging to widget.