When creating a Menu in Tkinter on Mac OSX, the very first submenu is labeled "Python". Is there a way to remove this so that the only submenus are the ones that I have created or does that submenu always exist no matter what?
Here is how I'm creating my menu
root = self.winfo_toplevel()
self.menu = Menu(root)
root['menu'] = self.menu
self.sub_menu = Menu(self.menu)
self.menu.add_cascade(label='My Program', menu=self.sub_menu)
self.sub_menu.add_command(label='Quit', command=self.quit)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…