Skip to main content

install

Function install 

Source
pub(crate) fn install(
    app: &NSApplication,
    mtm: MainThreadMarker,
    menus: &[Menu<usize>],
    target: Option<&MenuTarget>,
)
Expand description

Replaces the menu bar with the app menu, the Edit menu and menus, whose items tell target when they are chosen.