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
//! Cascading submenus in the GTK backend — example driver.
//!
//! GTK twin of `tui_submenu.rs`. Same `SubmenuApp` — pull-right
//! submenus in both a menu-bar dropdown (View → Export → PNG → {Lossless,
//! Compressed} / SVG, ≥2 levels) and an in-window right-click context menu
//! (Refactor → Rename / Extract) — driven entirely through the
//! backend-agnostic `Backend` trait, so no GTK-specific app code is needed
//! (#371: bringing the GTK rasteriser to submenu-painting parity with TUI
//! is what makes this example behave the same as its TUI twin).
//!
//! Run with:
//!
//! ```sh
//! cargo run --example gtk_submenu --features gtk
//! ```
//!
//! Controls:
//!   Right-click  — open the in-window context menu
//!   Alt+F/V      — open the menu-bar File / View dropdown
//!   ↑/↓          — navigate within the open level
//!   →/Enter      — open a submenu or activate a leaf
//!   ←/Esc        — close deepest submenu (Esc at root closes all)
//!   q / Esc      — quit (when no menu is open)

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

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