Tkinter: Difference between revisions
Content added Content deleted
(→Frame) |
|||
Line 220: | Line 220: | ||
def press(): |
def press(): |
||
win1 = Toplevel() |
win1 = Toplevel() |
||
win1.attributes('-topmost', 'true') |
|||
Button(win1, text = "Event", command=event).grid() |
Button(win1, text = "Event", command=event).grid() |
||
Button(win1, text = "Q", command=win1.destroy).grid() |
Button(win1, text = "Q", command=win1.destroy).grid() |