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.
- Selection
Range - 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.
- Text
BoxBuilder - Text box builder creates new
TextBox
instances and adds them to the user interface.
Enums§
- Horizontal
Direction - Specifies a direction on horizontal axis.
- Text
BoxMessage - A message that could be used to alternate text box widget’s state or receive changes from it.
- Text
Commit Mode - Defines the way, how the text box widget will commit the text that was typed in
- Vertical
Direction - Specifies a direction on vertical axis.
Type Aliases§
- Filter
Callback - Defines a function, that could be used to filter out desired characters. It must return
true
for characters, that pass the filter, andfalse
- otherwise.