iced/examples/exit
Héctor Ramón Jiménez 8b45d620d0
Revert window::close producing a window::Id
Instead, subscribing to `window::close_events` is
preferable; since most use cases will want to react
to the user closing a window as well.
2024-08-12 05:50:22 +02:00
..
src Revert window::close producing a window::Id 2024-08-12 05:50:22 +02:00
Cargo.toml Use workspace dependencies and package inheritance 2023-09-04 13:08:17 +02:00
README.md Allow Sandbox applications to exit. 2021-12-29 09:34:37 -08:00

Exit

How to exit an application based on user input.

The main file contains all the code of the example.

You can run it with cargo run:

cargo run --package exit