Tkinter and no root window

Matthew Dixon Cowles matt at mondoinfo.com
Wed Oct 2 21:48:48 EDT 2002


On Thu, 03 Oct 2002 00:58:35 GMT, jerf at 192.255.255.255
<jerf at 192.255.255.255> wrote:

> I would be happy if I could just tell the root window not to display; I'm
> perfectly happy to maintain my own list of open windows and terminate the
> program when they are all closed.

You can send the root window a withdraw() immediately after it's
created. Generally, it won't be displayed.

root=Tk()
root.withdraw()

Regards,
Matt



More information about the Python-list mailing list