thanks guys, this does seem to work...nevertheless, since I'm quite new to both python and gui design, one more question: how would I do the same, but launching the counter at the click of the button? I tried (from Firat's last example)
def increment(*args): var.set(var.get()+1) root.after(1000, increment) but1=Button(text="click me", command=increment) but1.grid() but without any success. cheers! 2010/8/19 Firat Ozgul <ozgulfi...@gmail.com> > [quote]Cameron Laird: "update() is *not* essential: after() provides a > non-threading alternative."[/quote] > > I agree. If you would not like to use update(), you can use after() in your > code with pretty much the same functionality: > > http://paste-it.net/public/e7ce371/ >
_______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss