Skip to main content

Module number_input

Module number_input 

Source
Expand description

A numeric field with a step control.

The number belongs to the caller. The control reports the number that was asked for and renders whatever it is handed, so a value the host will not accept is visible as the value not moving. A value outside the range the control was given is shown as it is and published as invalid: hiding it behind a silent clamp would report a number nobody entered.

Structs§

NumberInput
A number field with a step grid and, optionally, a range.

Enums§

NumberInputEvent
What a number field reports. The owner decides what any of it means.