rat_widget

Module text_input_mask

Source
Expand description

Text-Input with pattern/mask.

  • Undo/redo
  • Sync another widget
  • Support double-width characters
  • Range based text styling
  • Clipboard trait to link to some clipboard implementation.

Structs§

MaskedInput
Text input widget with input mask.
MaskedInputState
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.