Callback functions arguments
rosuav at gmail.com
Tue Oct 28 08:51:21 CET 2014
On Tue, Oct 28, 2014 at 6:35 PM, ast <nomail at invalid.com> wrote:
> OK, but i still find very strange the choice of Python's designers to
> make the Scale behaves like that.
That's nothing to do with Python's design. That's all about Tkinter,
which presumably is imitating Tk. Python allows the callback function
to be called with whatever arguments the caller wishes; you can look
at the docs for the different objects to see what args they'll be
giving their callbacks.
More information about the Python-list