Add a new command entry to the bottom of the menu. A command entry behaves much like a button: when it is invoked, the callback given by its command option is called.
tkinter/Menu.add_command
Menu.add_command