From 7354f68b3ca345767de3f09dccddf168493977bf Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Thu, 12 Jan 2023 02:59:08 +0100 Subject: Draft `Shell:request_redraw` API ... and implement `TextInput` cursor blink :tada: --- src/application.rs | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/application.rs') diff --git a/src/application.rs b/src/application.rs index f2b7c955..6d68779b 100644 --- a/src/application.rs +++ b/src/application.rs @@ -180,13 +180,6 @@ pub trait Application: Sized { 1.0 } - /// Returns whether the [`Application`] should be terminated. - /// - /// By default, it returns `false`. - fn should_exit(&self) -> bool { - false - } - /// Runs the [`Application`]. /// /// On native platforms, this method will take control of the current thread -- cgit From 9fe46de13f86967543de8f00b5a4f9e45d8f5bcf Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sat, 14 Jan 2023 00:49:58 +0100 Subject: Bump versions :tada: --- src/application.rs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/application.rs') diff --git a/src/application.rs b/src/application.rs index 6d68779b..96f4e9a6 100644 --- a/src/application.rs +++ b/src/application.rs @@ -39,15 +39,15 @@ pub use iced_native::application::{Appearance, StyleSheet}; /// to listen to time. /// - [`todos`], a todos tracker inspired by [TodoMVC]. /// -/// [The repository has a bunch of examples]: https://github.com/iced-rs/iced/tree/0.6/examples -/// [`clock`]: https://github.com/iced-rs/iced/tree/0.6/examples/clock -/// [`download_progress`]: https://github.com/iced-rs/iced/tree/0.6/examples/download_progress -/// [`events`]: https://github.com/iced-rs/iced/tree/0.6/examples/events -/// [`game_of_life`]: https://github.com/iced-rs/iced/tree/0.6/examples/game_of_life -/// [`pokedex`]: https://github.com/iced-rs/iced/tree/0.6/examples/pokedex -/// [`solar_system`]: https://github.com/iced-rs/iced/tree/0.6/examples/solar_system -/// [`stopwatch`]: https://github.com/iced-rs/iced/tree/0.6/examples/stopwatch -/// [`todos`]: https://github.com/iced-rs/iced/tree/0.6/examples/todos +/// [The repository has a bunch of examples]: https://github.com/iced-rs/iced/tree/0.7/examples +/// [`clock`]: https://github.com/iced-rs/iced/tree/0.7/examples/clock +/// [`download_progress`]: https://github.com/iced-rs/iced/tree/0.7/examples/download_progress +/// [`events`]: https://github.com/iced-rs/iced/tree/0.7/examples/events +/// [`game_of_life`]: https://github.com/iced-rs/iced/tree/0.7/examples/game_of_life +/// [`pokedex`]: https://github.com/iced-rs/iced/tree/0.7/examples/pokedex +/// [`solar_system`]: https://github.com/iced-rs/iced/tree/0.7/examples/solar_system +/// [`stopwatch`]: https://github.com/iced-rs/iced/tree/0.7/examples/stopwatch +/// [`todos`]: https://github.com/iced-rs/iced/tree/0.7/examples/todos /// [`Sandbox`]: crate::Sandbox /// [`Canvas`]: crate::widget::Canvas /// [PokéAPI]: https://pokeapi.co/ -- cgit