use the withdraw() function, e.g.

from Tkinter import *
root = Tk()
root.withdraw()                         # Hide the window
root.deiconify()                                # Unhide the window

Bobby

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Gerardo Juarez
Sent: Friday, September 15, 2006 3:24 PM
To: [email protected]
Subject: [Tkinter-discuss] Minimizing a Python/Tk application



Hi,

I want a Python/Tk application to minimize itself as soon as it starts
(it 
acts in the background). Is there a way to make this happen?

An another question: how can I make this application appear on the tool
bar, next to the volume control, anti-virus software and similar
applications? I have searched and cannot find anything related.

Thanks in advance,
Gerardo


_______________________________________________
Tkinter-discuss mailing list
[email protected]
http://mail.python.org/mailman/listinfo/tkinter-discuss
_______________________________________________
Tkinter-discuss mailing list
[email protected]
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to