summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Richard <richardsoncusto@gmail.com>2022-11-03 14:53:05 -0300
committerLibravatar bungoboingo <shankern@protonmail.com>2023-01-09 11:28:07 -0800
commit5e4e410b18eb744cf70ae1f18b9ef08611f59150 (patch)
treeb9fb0e27d59c2e0177296f3eb642fa3337c1ddec /src
parentac20f35c6245bbafffd4d047764fb04e66dcfe75 (diff)
downloadiced-5e4e410b18eb744cf70ae1f18b9ef08611f59150.tar.gz
iced-5e4e410b18eb744cf70ae1f18b9ef08611f59150.tar.bz2
iced-5e4e410b18eb744cf70ae1f18b9ef08611f59150.zip
remove `windows` method (use commands instead)
Diffstat (limited to '')
-rw-r--r--src/multi_window/application.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/multi_window/application.rs b/src/multi_window/application.rs
index df45ca1e..7d559397 100644
--- a/src/multi_window/application.rs
+++ b/src/multi_window/application.rs
@@ -46,9 +46,6 @@ pub trait Application: Sized {
/// title of your application when necessary.
fn title(&self) -> String;
- /// TODO(derezzedex)
- fn windows(&self) -> Vec<(window::Id, window::Settings)>;
-
/// Handles a __message__ and updates the state of the [`Application`].
///
/// This is where you define your __update logic__. All the __messages__,
@@ -170,16 +167,6 @@ where
self.0.title()
}
- fn windows(&self) -> Vec<(window::Id, iced_winit::settings::Window)> {
- self.0
- .windows()
- .into_iter()
- .map(|(id, settings)| {
- (id, iced_winit::settings::Window::from(settings))
- })
- .collect()
- }
-
fn update(&mut self, message: Self::Message) -> Command<Self::Message> {
self.0.update(message)
}