Return the numerical index corresponding to index, or None if index selects no entry.
tkinter/Menu.index
Menu.index