diff --git a/contextmenu.py b/contextmenu.py index 4051a49..ecd54d9 100644 --- a/contextmenu.py +++ b/contextmenu.py @@ -1,5 +1,6 @@ from tkinter import * root = Tk() +root.option_add('*tearOff', FALSE) menu = Menu(root) for i in ('One', 'Two', 'Three'): menu.add_command(label=i)