views:

112

answers:

1
+3  A: 

command=self.pt([50,50]) (that you use in the Button call which builds the Draw button) immediately executes the call you're telling it to execute, and binds the result (None) to command. Use, instead, in that same:

, command=lambda: self.pt([50, 50]) )

to delay the execution of the call to each time that button will be pressed.

Alex Martelli