icedtea 0.9.0

Native desktop widgets and chrome for iced
Documentation

icedtea

Documentation Crates.io License check Coverage

A Rust library that draws a native desktop window: buttons, lists, menus, and the chrome around them, on iced. You keep the data. Color and type follow Material Design 3 roles (m3 module). Desktop chrome is rectangular (M3 shape None).

icedtea::run! opens the window. One Action is a command you write once; the toolbar, menus, and shortcuts can all run it. A constructor is a function that draws one control and sends your message.

A themed icedtea window

First window

cargo add icedtea. It tracks iced 0.14. The crates.io badge above is the crate version.

The program is examples/hello.rs: a notes buffer, Save on ctrl+s, a toolbar, and a status line.

icedtea::run!(
    Boot::new("Notes", "dev.example.hello"),
    Hello::new,
    Hello::update,
    Hello::view,
    Hello::theme,
    Hello::subscription
)

cargo run --example hello from a checkout.

Where to look

  • Guide — first window, then a one-day task list that writes a SQLite file, then every control
  • Crate docs — widget, theme, action, layout, window, pattern
  • crates.io · source

Linux needs libxkbcommon-dev and libwayland-dev. macOS needs the Xcode command-line tools. Windows needs the MSVC build tools.