diff options
author | 2022-11-11 08:43:36 -0800 | |
---|---|---|
committer | 2022-11-11 08:43:36 -0800 | |
commit | c4bca3f2af7ae9b2c8dfc3af48ab73dad852ed34 (patch) | |
tree | a9c75de888366ea4d0f82c821e6d90a7682ae380 /native/src/element.rs | |
parent | 23299a555f8b7e908a6a14915307792a7cf97b9a (diff) | |
download | iced-c4bca3f2af7ae9b2c8dfc3af48ab73dad852ed34.tar.gz iced-c4bca3f2af7ae9b2c8dfc3af48ab73dad852ed34.tar.bz2 iced-c4bca3f2af7ae9b2c8dfc3af48ab73dad852ed34.zip |
Add text input operations
Diffstat (limited to 'native/src/element.rs')
-rw-r--r-- | native/src/element.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/native/src/element.rs b/native/src/element.rs index c82d8e96..f941a490 100644 --- a/native/src/element.rs +++ b/native/src/element.rs @@ -324,6 +324,14 @@ where ) { self.operation.scrollable(state, id); } + + fn text_input( + &mut self, + state: &mut dyn widget::operation::TextInput, + id: Option<&widget::Id>, + ) { + self.operation.text_input(state, id); + } } self.widget |