'Return the index of a menu item identified by INDEX.'

def index(self, index):

    i = self.tk.call(self._w, 'index', index)
    if (i == 'none'):
        return None
    else:
        return getint(i)
