Try this and you'll see, that the command is called with one argument. The current Value.
The callback command is called with one argument.
Use instead
import tkinter root = tkinter.Tk() tkinter.Scale(root, command=print, from_=0, to=200, orient=tkinter.HORIZONTAL).pack() tkinter.Button(root, text='Close', command=root.destroy).pack() root.mainloop()Maybe you have forgotten to add the argument into your method. When there is only
editingImage(self):
, it's wrong.The callback command is called with one argument.
Use instead
editingImage(self, value):
and do something with value in your editingImage method.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
All humans together. We don't need politicians!