iced/native
13r0ck 5b556250be Use same name & order for toggler::new and helper
The helper function for the toggler widget switched the order and
name of the arguments passed when creating the toggler widget.
This just standardizes the order whether the dev is using the
helper or the associated function.
2022-12-22 13:53:56 -07:00
..
src Use same name & order for toggler::new and helper 2022-12-22 13:53:56 -07:00
Cargo.toml Bump versions 🎉 2022-12-07 04:44:20 +01:00
README.md Replace Zulip links with Discord 2022-01-31 21:18:39 +07:00

iced_native

Documentation Crates.io License Discord Server

iced_native takes iced_core and builds a native runtime on top of it, featuring:

  • A custom layout engine, greatly inspired by druid
  • Event handling for all the built-in widgets
  • A renderer-agnostic API

To achieve this, it introduces a bunch of reusable interfaces:

  • A Widget trait, which is used to implement new widgets: from layout requirements to event and drawing logic.
  • A bunch of Renderer traits, meant to keep the crate renderer-agnostic.
  • A Windowed trait, leveraging raw-window-handle, which can be implemented by graphical renderers that target windows. Window-based shells (like iced_winit) can use this trait to stay renderer-agnostic.

The native target

Installation

Add iced_native as a dependency in your Cargo.toml:

iced_native = "0.4"

Iced moves fast and the master branch can contain breaking changes! If you want to learn about a specific release, check out the release list.