Quick Start
The simplest way to create an iced application:Application Builder
For more control, use theapplication() builder:
- Window settings - Size, position, decorations
- Theme - Built-in or custom themes
- Fonts - Custom font loading
- Subscriptions - Listen to events
- Settings - Antialiasing, vsync, and more
Core Concepts
State
Your application state can be any type that implementsDefault (for iced::run) or any type with a custom initialization function (for iced::application).
Update Function
The update function receives mutable state and a message, optionally returning aTask:
