Revision: c6040dac18aeafbd6927314e01fd07a19eb7ac1b (Currently latest)
Reproduce:
#[derive(Data, Clone, Copy)]
struct State;
fn make_menu(_: Option<WindowId>, _: &State, _: &Env) -> Menu<State> {
druid::platform_menus::mac::menu_bar()
}
fn main() {
let window = WindowDesc::new(Label::new("test")).menu(make_menu);
AppLauncher::with_window(window).launch(State).unwrap()
}
Source: link