Description
muda is a Rust library for adding menus to desktop applications, from the tauri-apps organization. It creates menu bars and context (popup) menus that work on Windows, macOS, and Linux or BSD with GTK 3 or GTK 4. You create a menu, add your items, then attach it to a window on Windows or GTK, or use it as the global app menu on macOS. Cargo features let you choose the GTK backend, enable the common controls v6 About dialog on Windows, turn on thread-safe menu snapshots, and add serde support for the DPI types. The README lists the packages to install for the GTK backend on Arch, Debian and Ubuntu, and gives steps for FreeBSD. It also notes that on Windows, accelerators only work if the message loop calls TranslateAcceleratorW. The repository is public on GitHub and includes a code of conduct, a contributing guide and a security policy. It is aimed at developers building Rust desktop apps who need native menus.…
Highlights
- Native menus on Windows, macOS, Linux and BSD
- Context (popup) menus
- GTK 3 or GTK 4 backend on Linux and BSD
- Optional features for thread-safe snapshots and the About dialog
- Serde support for DPI types
Ratings & Reviews
No ratings yet
Be the first to rate Muda.
People also visit
Muda FAQ
What is muda?
A Rust library for creating menus in desktop applications.
Which platforms does it support?
Windows, macOS, and Linux or BSD with GTK 3 or GTK 4, according to the README.
What do I need on Linux?
The GTK packages for the backend version you enable, installed before building. The README gives commands for Arch, Debian and Ubuntu.
Which GTK version should I use?
Enable gtk3 or gtk4 with a Cargo feature. If both are enabled, muda uses GTK 4 and prints a Cargo warning.
Is it open source?
Yes. The repository is public on GitHub.
What are the best Muda alternatives?
Popular alternatives to Muda include Tauri Macos Menubar App Example, Ironbar and Window Sweaters. See all Muda alternatives