Module rat_widget::input
source · Expand description
Text input widget.
- Can do the usual insert/delete/movement operations.
- Text selection via keyboard and mouse.
- Scrolls with the cursor.
- Modes for focused and valid.
The visual cursor must be set separately after rendering. It is accessible as RTextInputState::screen_cursor() after rendering.
For event-handling call one of the HandleEvent implementations.
Modules§
Structs§
- Text input widget.
- Combined style for the widget.