Skip to main content

text_box

Function text_box 

Source
pub fn text_box(text: impl Into<String>) -> Widget
Expand description

A single-line text input holding text — black box, grey border (white while focused), like vanilla’s EditBox. Its text, caret and focus live in a TextBoxState that the code-behind keeps and applies to it each frame.