Crate zng_wgt_text_input

Source
Expand description

Text input and label widgets.

§Crate

This crate is part of the zng project.

Modules§

label
Label text.
selectable
Selectable text.

Structs§

DefaultStyle
W Text input default style.
FieldStyle
W Text input style that shows data notes, info, warn and error.
SearchStyle
W Text input style for a search field.
TextInput
W Simple text editor widget.

Statics§

FIELD_HELP_VAR
Text shown under a FieldStyle when it has no data notes (no info, warn or error).
STYLE_FN_VAR
Contextual style variable.

Functions§

data_notes_adorner_fn
P Adorner property used by FieldStyle to show data info, warn and error.
default_context_menu
Context menu set by the DefaultStyle!.
default_popup_context_capture
Context captured for the context menu, set by the DefaultStyle!.
default_selection_toolbar
Selection toolbar set by the DefaultStyle!.
field_help
P Text shown under a FieldStyle when it has no data notes (no info, warn or error).
max_chars_count_adorner_fn
P Adorner property used by FieldStyle to show the count/max indicator.
placeholder
P Widget shown when the txt is empty.
placeholder_txt
P Text shown when the txt is empty.
style_fn
P Extends or replaces the widget style.