Start New Discussion within our Software Development Community

I use windows-xp python 2.6
Could I have your help.
I need to hide and then show a Tkinter root window. And also "remove" the exit, minimize and maximize options.

I can't do it like this!

root.hide()
#do some stuff
root.show()

Root.hide works but root.show doesn't. No Exception thrown.

:(

Hide the root window with:
root.withdraw()

Bring the root window back up with:
root.update()
root.deiconify()

Remove root window border and title bar with:
root.overrideredirect(True)

Bring the border and title bar back after 5000 milliseconds:
root.after(5000, root.overrideredirect, False)

Hide the root window with:
root.withdraw()

Remove root window border and title bar with:
root.overrideredirect(1)

Bring the full root window back up with:
root.update()
root.deiconify()

thanks dude, that's really useful, I'll use it as well :)

This question has already been answered. Start a new discussion instead.