S
Svennglenn
Hi
I'm creating a program in Tkinter and I would need
help to create a "close button" for dialog windows.
One of my typical dialog windows look like this:
def show_window(self):
top = Toplevel()
Label(top, text="Some text").pack()
Label(top, text="Some more text").pack()
So what code do i need to insert to create a button that
can close this window? If you need to look at some more
code from the program to be sure please till me.
I'm creating a program in Tkinter and I would need
help to create a "close button" for dialog windows.
One of my typical dialog windows look like this:
def show_window(self):
top = Toplevel()
Label(top, text="Some text").pack()
Label(top, text="Some more text").pack()
So what code do i need to insert to create a button that
can close this window? If you need to look at some more
code from the program to be sure please till me.