[][src]Function druid::platform_menus::mac::file::new_file

pub fn new_file<T: Data>() -> MenuItem<T>

The 'New Window' item.

Note: depending on context, apps might show 'New', 'New Window', 'New File', or 'New...' (where the last indicates that the menu item will open a prompt). You may want to create a custom item to capture the intent of your menu, instead of using this one.