hey guys, girls, others. i have a pop down widget and one of the options in the pop down screen is "Exit" which means quit. I want to know the code for clicking that "Exit" option and then it Quiting the whole program. here is my code for the pop down window with "Exit" option:
self.mb = Menubutton(self, text="Quit", relief=FLAT, font=("Arial", 8))
self.mb.menu = Menu(self.mb, tearoff=0)
self.mb["menu"] = self.mb.menu
self.exitVar = IntVar()
If you don't know what im talking about please comment back!!