Valuator.step

double step() const nothrow @nogc

Gets the step value.

As the user moves the widget, the value is rounded to the nearest multiple of the step value. A step of zero disables rounding.

Returns

The step value
void step(double val) nothrow @nogc

Sets the step value.

As the user moves the widget, the value is rounded to the nearest multiple of the step value. This is done before clamping to the range. A step of zero disables rounding.

Parameters

valThe step value