1.11M Members

Need help! Tkinter hide window then show...

 
0
 

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.

:(

 
2
 

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)

 
0
 

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 :)

Question Answered as of 4 Years Ago by vegaseat and masterofpuppets
 
0
 

:)
Thank you, I too understood.

You
This question has already been solved: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: