Egui::NumberInput
Inherits Egui::Widget < Reference < Object
Constants
DOWN_ACC = 45236_u64
DOWN_SALT = 45234_u64
EDIT_PREFIX = "\u0001"
The buffer lives in IdTypeMap under the widget id; a "\u{1}" prefix marks "editing" (so typing "-" then clearing stays in edit mode) — the same scheme DragValue uses.
REPEAT_DELAY = 0.4
REPEAT_RATE = 15.0
Auto-repeat: steps per second while an arrow button stays held, and how long the hold must last before the repeats begin (Windows updown: instant first step, then repeats).
UP_ACC = 45235_u64
UP_SALT = 45233_u64
Child-id salts: the two arrow buttons, their repeat accumulators.
Constructors
new(value : Int32, range : Range(Int32, Int32) | Nil = nil, step : Int32 = 1, prefix : String = "", suffix : String = "", focus_id : String | Nil = nil)
SourceInstance methods
ui(ui : Ui) : Response
Source