inline fun Menu.forEachIndexed(action: (index: Int, item: MenuItem) -> Unit): Unit
Performs the given action on each item in this menu, providing its sequential index.