diff options
author | 2024-10-25 22:06:06 +0200 | |
---|---|---|
committer | 2024-11-05 23:52:58 +0100 | |
commit | f02bfc3f68322bea0c56283d76888714be401ec2 (patch) | |
tree | d7793a7572cbc441e16fa982155343bcc54e83ea /runtime | |
parent | dcc184b01b753dbecb500205391f6eaaa21c8683 (diff) | |
download | iced-f02bfc3f68322bea0c56283d76888714be401ec2.tar.gz iced-f02bfc3f68322bea0c56283d76888714be401ec2.tar.bz2 iced-f02bfc3f68322bea0c56283d76888714be401ec2.zip |
Rename `Widget::on_event` to `update`
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/src/user_interface.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/src/user_interface.rs b/runtime/src/user_interface.rs index cae17bcc..6997caf4 100644 --- a/runtime/src/user_interface.rs +++ b/runtime/src/user_interface.rs @@ -308,7 +308,7 @@ where let mut shell = Shell::new(messages); - self.root.as_widget_mut().on_event( + self.root.as_widget_mut().update( &mut self.state, event, Layout::new(&self.base), |