rat_widget

Module number_input

Source
Expand description

Number input with pattern.

  • Undo/redo
  • Clipboard trait to link to some clipboard implementation.

Structs§

NumberInput
NumberInput with format_num_pattern backend. A bit similar to javas DecimalFormat.
NumberInputState
State & event handling.

Functions§

handle_events
Handle all events. Text events are only processed if focus is true. Mouse events are processed if they are in range.
handle_mouse_events
Handle only mouse-events.
handle_readonly_events
Handle only navigation events. Text events are only processed if focus is true. Mouse events are processed if they are in range.