Tkinter: Difference between revisions

Line 220:
def press():
win1 = Toplevel()
win1.attributes('-topmost', 'true')
Button(win1, text = "Event", command=event).grid()
Button(win1, text = "Q", command=win1.destroy).grid()