ui_access

module pkg::alloy::ui::fieldssource

Text fields: a caret moving by graphemes, lines and the ends of lines with the arrows, Home and End, Left and Right as the text is shown where its direction changes, and by words (UAX #29) with Ctrl, Option on macOS; a selection by Shift or the pointer, a double click taking a word; typing, Enter, Backspace and Delete (by the text's order, a word with Ctrl or Option); Ctrl+C, Ctrl+X and Ctrl+V through the clipboard; an input method's compositions shown underlined at the caret. One line scrolls to keep the caret in view, on the right when it reads right to left; several wrap, each paragraph on its own side. A secret field shows a dot for each grapheme, its caret and selection moving among the dots, the offsets in the text taken to and from theirs (shown_at, text_at).

fn paintsource

exp fn paint(self f: &TextField, look: &Look, paint: &var Paint)

fn text_map_ofsource

exp fn text_map_of(widget: &Widget) -> Option<TextMap>

The map a text field or a text of several lines keeps while a screen reader reads.

fn renewsource

exp fn renew(self f: &var TextField, next: TextField) -> Change