Apr-18-2019, 03:53 PM
Hello,
self.canvas.bind("<B1-Motion>", self.move
I would like to call this function (self.move) also with some parameters, but I'm not sure, how to do it. This bind is inside a for loop, with variable 'i', and I want to call self.move with different values 'i'. Is there any way how to add a parameter to function in binding?
self.canvas.bind("<B1-Motion>", self.move
I would like to call this function (self.move) also with some parameters, but I'm not sure, how to do it. This bind is inside a for loop, with variable 'i', and I want to call self.move with different values 'i'. Is there any way how to add a parameter to function in binding?