diff options
author | 2023-04-13 06:46:33 +0200 | |
---|---|---|
committer | 2023-04-13 06:46:33 +0200 | |
commit | f55a97b738096d85086858026234ee95dcd79289 (patch) | |
tree | 1a3a51b4432e6df8a3db3132960df50a95a57682 /src | |
parent | 6b359b496cf435c26f982ee0e52d7324c79ad1d5 (diff) | |
download | iced-f55a97b738096d85086858026234ee95dcd79289.tar.gz iced-f55a97b738096d85086858026234ee95dcd79289.tar.bz2 iced-f55a97b738096d85086858026234ee95dcd79289.zip |
Rename `MouseListener` to `MouseArea`
Diffstat (limited to 'src')
-rw-r--r-- | src/widget.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/widget.rs b/src/widget.rs index 15b34ffa..d06fdafb 100644 --- a/src/widget.rs +++ b/src/widget.rs @@ -47,12 +47,12 @@ pub mod container { iced_native::widget::Container<'a, Message, Renderer>; } -pub mod mouse_listener { +pub mod mouse_area { //! Intercept mouse events on a widget. /// A container intercepting mouse events. - pub type MouseListener<'a, Message, Renderer = crate::Renderer> = - iced_native::widget::MouseListener<'a, Message, Renderer>; + pub type MouseArea<'a, Message, Renderer = crate::Renderer> = + iced_native::widget::MouseArea<'a, Message, Renderer>; } pub mod pane_grid { |