FW: [Tutor] Continuously Updating A Display?

alan.gauld@bt.com alan.gauld@bt.com
Fri, 11 Oct 2002 12:59:36 +0100


James meant this discussion for the list so here is my 
reply to his question...

Alan G.

 -----Original Message-----

 > So, as per your web page, I type in: top = Tk() and the 
 > first thing I notice is that it doesn't do this at all:
 > 
 > "This creates the top level widget in our widget heirarchy. 
 > All other widgets will be created as children of this. 
 > Notice that a new blank window has appeared 
 
 Are you doing it at the DOS prompt. And have you checked the 
 task bar - it has a habit of appearing behind the current window!
 
 Tkinter and IDLE don't mix well coz IDLE is itself written 
 in Tkinter.... it gets confused over which mainloop is 
 running etc.
 
 > I imagine this is a Windows/Tkinter issue and maybe 
 > I have to use the win32api API instead 
 
 No, not at all, my tutor was written for PC users (de facto 
 the majority) and should work as is. (I am actually running 
 Win 98SE at work and Windows XP Home at home - I also have 
 a Linux box and an Apple iBook laptop at home which I use 
 to test for compatibility across platforms... it should 
 work on all of them!)
 
 Also do you get any error messages? Or just no window?
 
 Alan G.