Expand description
A text input widget from iced widgets plus some added details.
Re-exports§
Modules§
Structs§
- Appearance
- The appearance of a text input.
- State
- The state of a
TextInput
. - Text
Input - A field that can be filled with text.
- Text
Input String - A string which can be sent to the clipboard or drag-and-dropped.
Traits§
- Style
Sheet - A set of rules that dictate the style of a text input.
Functions§
- draw
- Draws the
TextInput
with the givenRenderer
, overriding itsValue
if provided. - editable_
input - A text label which can transform into a text input on activation.
- focus
- Produces a
Task
that focuses theTextInput
with the givenId
. - inline_
input - Creates a new inline
TextInput
. - layout
- Computes the layout of a
TextInput
. - mouse_
interaction - Computes the current
mouse::Interaction
of theTextInput
. - move_
cursor_ to - Produces a
Task
that moves the cursor of theTextInput
with the givenId
to the provided position. - move_
cursor_ to_ end - Produces a
Task
that moves the cursor of theTextInput
with the givenId
to the end. - move_
cursor_ to_ front - Produces a
Task
that moves the cursor of theTextInput
with the givenId
to the front. - search_
input - Creates a new search
TextInput
. - secure_
input - Creates a new secure
TextInput
. - select_
all - Produces a
Task
that selects all the content of theTextInput
with the givenId
. - text_
input - Creates a new
TextInput
. - update
- Processes an
Event
and updates theState
of aTextInput
accordingly.