There's a menu bar example, but it creates an in-window menu, which is inappropriate for macOS.
I've found that there's GtkApplicationExt::set_menubar that might be setting the native screen-top menu bar, but this method wants gio::MenuModel, and I can't find documentation how to create that object in Rust.
There's a menu bar example, but it creates an in-window menu, which is inappropriate for macOS.
I've found that there's
GtkApplicationExt::set_menubar
that might be setting the native screen-top menu bar, but this method wantsgio::MenuModel
, and I can't find documentation how to create that object in Rust.