Module text_box

Source
Expand description

TextBox is a text widget that allows you to edit text and create specialized input fields. See TextBox docs for more info and usage examples.

Structs§

Position
Defines a position in the text. It is just a coordinates of a character in text.
SelectionRange
Defines a set of two positions in the text, that forms a specific range.
TextBox
TextBox is a text widget that allows you to edit text and create specialized input fields. It has various options like word wrapping, text alignment, and so on.
TextBoxBuilder
Text box builder creates new TextBox instances and adds them to the user interface.

Enums§

HorizontalDirection
Specifies a direction on horizontal axis.
TextBoxMessage
A message that could be used to alternate text box widget’s state or receive changes from it.
TextCommitMode
Defines the way, how the text box widget will commit the text that was typed in
VerticalDirection
Specifies a direction on vertical axis.

Type Aliases§

FilterCallback
Defines a function, that could be used to filter out desired characters. It must return true for characters, that pass the filter, and false - otherwise.