Adding App Menus #6983
-
When creating a GUI app, it would be helpful if Slint provided a way to add menus to the app. But not workarounds—real menus. Especially on macOS, an app's menu is outside the window, and being able to define this through Slint would be cool. In the meantime: Can anyone recommend crates for creating menus in a Mac app (Rust + Slint)? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
We're working on this. As of now, you can already get menu using the private API and the slint/tools/lsp/preview/native.rs Line 269 in 901afde This was also discussed there: #3640 |
Beta Was this translation helpful? Give feedback.
We're working on this.
Status: #38 (comment)
This won't be in the Slint 1.9 release, but maybe in Slint 1.10
As of now, you can already get menu using the private API and the
muda
crate.An example in our repo there:
slint/tools/lsp/preview/native.rs
Line 269 in 901afde
This was also discussed there: #3640