[Tkinter-discuss] Problem looping

Cameron Laird Cameron at Phaseit.net
Mon May 2 18:44:54 CEST 2005


On Mon, May 02, 2005 at 05:41:50PM +0100, Brill IanT wrote:
			.
			.
			.
> I was wondering if anyone could help me out. 
> I wrote a little alarm clock program in Python, and now want to incorporate it into a Tkinter frame. It's all going quite well, but this is my first experience with Tk and I've hit a bit of a wall. One of the button's commands refers to a method (called 'act') which has a while loop within it (keeps track of the time and ought to display it in the Tk frame). But the problem is the while loop is interupting the root mainloop, so the labels will not update, and freezes until the while loop is over. 
			.
			.
			.
Short answer:  <URL: http://wiki.tcl.tk/1526 >.

Do you want help translating this into Tkinter?


More information about the Tkinter-discuss mailing list