Iced is a cross-platform GUI library for Rust. This tutorial serves as a quick start for the library.
We try to keep each part of the tutorial as simple as possible.
The examples usually explain diverse ways of accomplishing the same task.
Each markdown file contains a complete example that is also available in the examples
directory.
To run the examples, you can use the following command:
cargo run --example <example_name>
This tutorial is for the latest Iced version (v0.13.1
)
For older Iced versions, please refer to the following branches:
- Setting Up
- First App - Hello World!
- Explanation of Sandbox Trait
- Adding Widgets
- Changing Displaying Content
- Widgets
- Layouts
- Styles
- Multipage Apps
- Tasks
- Windows
- Events
- Canvas
- Custom Widgets
- Others
- Iced - the Iced library.
- awesome-iced - a list of projects depending on Iced.
Pull requests for typos, incorrect information, or other ideas are welcome!
All code in the tutorial is provided under the MIT License.