XPLMRemoveMenuItem

Function XPLMRemoveMenuItem 

Source
pub unsafe extern "C" fn XPLMRemoveMenuItem(
    inMenu: XPLMMenuID,
    inIndex: c_int,
)
Expand description

XPLMRemoveMenuItem

Removes one item from a menu. Note that all menu items below are moved up one; your plugin must track the change in index numbers.