diff options
| author | 2023-02-15 14:55:02 -0800 | |
|---|---|---|
| committer | 2023-02-15 14:55:02 -0800 | |
| commit | 63fb608d8bea8a653bf011f5f9cffc88525576e0 (patch) | |
| tree | 938c15b85fd9d27ee3a82806cf83bc211e7b94dd /native/src/widget/action.rs | |
| parent | 64e0e817c27d720dc954ee94de58ded35b3f9f9a (diff) | |
| parent | 0cb72f69716adc82ad85a0ee7120edb6e653b0c0 (diff) | |
| download | iced-63fb608d8bea8a653bf011f5f9cffc88525576e0.tar.gz iced-63fb608d8bea8a653bf011f5f9cffc88525576e0.tar.bz2 iced-63fb608d8bea8a653bf011f5f9cffc88525576e0.zip | |
Merge remote-tracking branch 'origin/master' into feat/multi-window-support
# Conflicts:
#	native/src/command/action.rs
#	native/src/window/action.rs
#	winit/src/window.rs
Diffstat (limited to '')
| -rw-r--r-- | native/src/widget/action.rs | 12 | 
1 files changed, 11 insertions, 1 deletions
| diff --git a/native/src/widget/action.rs b/native/src/widget/action.rs index 1e21ff38..3f1b6b6c 100644 --- a/native/src/widget/action.rs +++ b/native/src/widget/action.rs @@ -1,4 +1,6 @@ -use crate::widget::operation::{self, Focusable, Operation, Scrollable}; +use crate::widget::operation::{ +    self, Focusable, Operation, Scrollable, TextInput, +};  use crate::widget::Id;  use iced_futures::MaybeSend; @@ -86,6 +88,14 @@ where                  self.operation.focusable(state, id);              } +            fn text_input( +                &mut self, +                state: &mut dyn TextInput, +                id: Option<&Id>, +            ) { +                self.operation.text_input(state, id); +            } +              fn custom(&mut self, state: &mut dyn Any, id: Option<&Id>) {                  self.operation.custom(state, id);              } | 
