A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/112397.html below:

Tkinter: Make it go away!

Tkinter: Make it go away! Tkinter: Make it go away!Phlip phlip_cpp at my-deja.com
Thu Apr 26 10:12:54 EDT 2001
Proclaimed Rick Pasotto from the mountaintops:

> If you insist on putting up with the possible flickering as the window
> resizes:

> lab1.destroy()

Thanks to you and to Martyn's 'forget' tip.

> Is there some reason not to just change the text in the label that's
> already there?

I have this friend who is hot all over "CodeUnitTestFirst". I think it's a 
bunch of hooey myself, but I'm required to write code that creates 
invisible windows, tests them, and destroys them without calling 'mainloop' 
on any of them:

        build a window but don't mainloop it yet
        if testmode: test test test
        if not testmode: mainloop
        buld another window
        ...

So if we are in test mode, we can't have the gadgets from the first window 
poluting the second one. Also during a development cycle I'l want to call a 
'mainloop' anyway to see how a given window is doing.

-- 
  Phlip                          phlip_cpp at my-deja.com
============== http://phlip.webjump.com ==============
  --  Set phasers on illin'  --

More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4