summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-07-28 03:53:47 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-07-28 03:53:47 +0200
commit52f84e51e90db1c324310565f2aff8b7e6987cba (patch)
tree721ef64dd91e0aca0e490971c8e1ee44ca912957 /src
parent80688689aa4b15bc23824df899974a9094a77b07 (diff)
downloadiced-52f84e51e90db1c324310565f2aff8b7e6987cba.tar.gz
iced-52f84e51e90db1c324310565f2aff8b7e6987cba.tar.bz2
iced-52f84e51e90db1c324310565f2aff8b7e6987cba.zip
Implement `Widget::operate` for `TextInput`
Diffstat (limited to 'src')
-rw-r--r--src/widget.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/widget.rs b/src/widget.rs
index 4ddf0566..abffadd5 100644
--- a/src/widget.rs
+++ b/src/widget.rs
@@ -119,7 +119,9 @@ pub mod toggler {
pub mod text_input {
//! Display fields that can be filled with text.
- pub use iced_native::widget::text_input::{Appearance, StyleSheet};
+ pub use iced_native::widget::text_input::{
+ focus, Appearance, Id, StyleSheet,
+ };
/// A field that can be filled with text.
pub type TextInput<'a, Message, Renderer = crate::Renderer> =