Make the entry given by index the active entry, redisplaying it with its active colors, and deactivate any previously active entry. If index selects no entry, or the selected entry is disabled, the menu ends up with no active entry.
tkinter/Menu.activate
Menu.activate