add_menu_item

Function add_menu_item 

Source
pub fn add_menu_item(i: u8, t: &str)
Expand description

Add a custom item on the app menu.

The i index is the value passed into the handle_menu callback when the menu item is selected by the user. Its value doesn’t have to be unique or continious.