Callback functions arguments
ast
nomail at invalid.com
Tue Oct 28 07:14:30 EDT 2014
"Chris Angelico" <rosuav at gmail.com> a écrit dans le message de
news:mailman.15254.1414482690.18130.python-list at python.org...
> On Tue, Oct 28, 2014 at 6:35 PM, ast <nomail at invalid.com> wrote:
That's clear to me now. Spinbox and Scale widgets behave
differently, that's all.
Command on Scale widget:
A procedure to be called every time the slider is moved. This
procedure will be passed one argument, the new scale value.
If the slider is moved rapidly, you may not get a callback for
every possible position, but you'll certainly get a callback when
it settles
Command on Spinbox widget
A procedure to be called whenever the scrollbar is moved.
No argument is passed.
More information about the Python-list
mailing list