quadraui 0.6.1

Cross-platform Rust UI toolkit: write one AppLogic and run it unmodified on TUI, GTK4 (Linux), macOS, and Windows backends
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Image + MenuBar leading-icon-slot `AppLogic` + `quadraui::gtk::run`
//! example.
//!
//! Paints the real `examples/assets/quadra_logo.png` asset via
//! `gdk_pixbuf` at the left of the menu bar — click a menu item, q to
//! quit.
//!
//! ```sh
//! cargo run --example gtk_image --features gtk
//! ```

#[path = "common/mod.rs"]
mod common;

fn main() -> std::process::ExitCode {
    quadraui::gtk::run(common::ImageApp::new())
}