[Tkinter-discuss] Can't do proper event binding in a for loop

thea_t siatogia at yahoo.com
Mon Oct 18 23:50:51 CEST 2010


Hi everyone,

I've been writing a long GUI in Python using Tkinter. One thing that I don't
understand is why I can't bind events to widgets in a loop. In the code
below, binding works well if I do it manually (commented out code) but not
in a for loop. Am I doing something wrong?

http://old.nabble.com/file/p29995174/events.py events.py 
-- 
View this message in context: http://old.nabble.com/Can%27t-do-proper-event-binding-in-a-for-loop-tp29995174p29995174.html
Sent from the Python - tkinter-discuss mailing list archive at Nabble.com.



More information about the Tkinter-discuss mailing list