Skip to main content

platform_menu_model

Function platform_menu_model 

Source
pub fn platform_menu_model() -> Vec<MenuSection>
Expand description

Build the menu model for the current platform’s native menu.

macOS carries Quit and Preferences in the separate application menu built by [super::macos::build_app_menu], so they are omitted from File/Edit there.