#ui #widgets #graphics #2d-graphics #interface

conrod_winit

An easy-to-use, 100% Rust, extensible 2D GUI library

14 breaking releases

Uses old Rust 2015

0.76.1 Jan 17, 2022
0.76.0 Nov 13, 2021
0.75.0 Oct 4, 2021
0.74.0 Jun 20, 2021
0.62.0 Dec 26, 2018

#329 in GUI

Download history 430/week @ 2024-07-21 525/week @ 2024-07-28 335/week @ 2024-08-04 591/week @ 2024-08-11 320/week @ 2024-08-18 373/week @ 2024-08-25 393/week @ 2024-09-01 392/week @ 2024-09-08 353/week @ 2024-09-15 533/week @ 2024-09-22 395/week @ 2024-09-29 94/week @ 2024-10-06 389/week @ 2024-10-13 264/week @ 2024-10-20 343/week @ 2024-10-27 416/week @ 2024-11-03

1,415 downloads per month
Used in 16 crates (15 directly)

MIT/Apache

84KB
1K SLoC

NOTICE: Original maintainer stepping down

I'll no longer be maintaining conrod for the reasons discussed here. If you're looking for a similar yet nicer replacement GUI library, I recommend egui. If you're interested in taking over maintenance, please express your interest here.


Conrod Actions Status Crates.io

An easy-to-use, 2D GUI library written entirely in Rust.

Guide

  1. What is Conrod?
  2. Getting Started
  3. Hello World
  4. Using and Customising Themes
    • What is a Theme?
    • Custom Themes
    • Serializing Themes
  5. Designing Custom Widgets (using the Widget trait)
    • The Widget trait
    • The widget_style! macro
    • The builder_methods! macro
    • Making a Button widget
  6. Custom Graphics and Window Backends
    • Demonstration of Backend Implementation (using glium and glutin)
  7. Internals
    • The Ui's Widget Graph
    • Ui::set_widgets - How does it work?
  8. FAQ

The Guide is a work-in-progress. If a section is not linked, it is likely not yet implemented.

Crates

Crate Badges Description
conrod_core Crates.io docs.rs The fundamentals for any conrod project.
conrod_derive Crates.io docs.rs Provides the WidgetCommon and WidgetStyle derive macros.
conrod_winit Crates.io docs.rs Simplifies using conrod_core with winit
conrod_gfx Crates.io docs.rs Simplifies using conrod_core with the gfx ecosystem
conrod_wgpu Crates.io docs.rs Simplifies using conrod_core with wgpu
conrod_glium Crates.io docs.rs Simplifies using conrod_core with glium
conrod_piston Crates.io docs.rs Simplifies using conrod_core with piston
conrod_vulkano Crates.io docs.rs Simplifies using conrod_core with vulkano

Current State

We're just starting to reach a stable-ish API pattern! There will still be some large changes, however these are more likely to be new features than API overhauls.

To get a clearer idea of where we're at see the issues and in particular, the 1.0.0 milestone.

Contributing

Want to help out? See Piston's how to contribute guide.

License

Licensed under either of

at your option.

Contributions

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Example Assets

No runtime deps