Tkinter Button widget
Shankar Iyer (siyer@Princeton.EDU)
siyer at Princeton.EDU
Thu Jul 14 14:53:31 EDT 2005
I have another Tkinter-related question. At the beginning of my program, a tkinter window is created with six buttons. Each of these buttons is assigned a function that should be executed only when the button is pressed. However, it seems that these functions are all executed once when the button widgets are first created. Why is this the case and how do I prevent this from happening?
More information about the Python-list