Function eos_rs::api::top_menu::add_sub_menu_option
source · pub fn add_sub_menu_option(
_ov01: &OverlayLoadLease<1>,
action_id: i32,
enable_option: bool
)
Expand description
Adds an option to the “Other” submenu on the top menu. This function is called for each one of the options in the submenu.
It loops the SUBMENU
data field, if the specified action ID does not exist there,
the option won’t be added.