Valuator.range

void range(double min, double max) nothrow @nogc

Sets the minimum and maximum values of the range.

When the user manipulates the widget, the value is limited to this range. The clamping is done after rounding to the step value.

The minimum may be greater than the maximum, which reverses the direction of the valuator.

Parameters

minThe minimum value
maxThe maximum value