Do you need this toplevel window to not be iconified--where it shows up
as a separate window? You can also do this:
def new_window(self, master):
t = Toplevel()
t.transient(master)
etc...
Svennglen, I put this in here because most likely you're next question
may be, how in the world do
Harlin Seritt wrote:
> You can add this:
>
> button = Button(top, text="Close Me", command=top.destroy)
> button.pack()
>
> That will kill the Toplevel window.
>
> Cheers,
>
> Harlin Seritt
Thank you, it worked great :)
--
http://mail.python.org/mailman/listinfo/python-list
You can add this:
button = Button(top, text="Close Me", command=top.destroy)
button.pack()
That will kill the Toplevel window.
Cheers,
Harlin Seritt
--
http://mail.python.org/mailman/listinfo/python-list
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").pa