iced/examples/clock
Héctor Ramón Jiménez 76698ff2b5
Make Command implementations platform-specific
This allows us to introduce a platform-specific `Action` to both `iced_native`
and `iced_web` and remove the `Clipboard` from `Application::update` to maintain
purity.

Additionally, this should let us implement further actions to let users query
and modify the shell environment (e.g. window, clipboard, and more!)
2021-09-02 13:29:34 +07:00
..
src Make Command implementations platform-specific 2021-09-02 13:29:34 +07:00
Cargo.toml Implement time::every in iced_futures 2020-04-30 05:37:44 +02:00
README.md Create README files for all the examples 2020-02-21 15:20:05 +01:00

Clock

An application that uses the Canvas widget to draw a clock and its hands to display the current time.

The main file contains all the code of the example.

You can run it with cargo run:

cargo run --package clock