pub fn new_file<T>() -> MenuItem<T>where
T: Data,
Expand description
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.