Expand description
Text input field — single-line or multiline. The widget itself
owns layout / draw; the runtime side of text editing
(insert, delete, cursor movement, selection, clipboard)
lives in the event_loop::text_editing private module.
Structs§
- A text input field.
Functions§
- Hit rect for the eye icon at the right edge of a
TextEditconfigured withTextEdit::password_toggle. Returned in the same coordinate space as the field’srect. Pointer / touch dispatch consult this before falling through to cursor placement — a tap inside the zone fires the toggle message instead of moving the caret.