Callback functions arguments

ast nomail at
Tue Oct 28 12:14:30 CET 2014

"Chris Angelico" <rosuav at> a écrit dans le message de 
news:mailman.15254.1414482690.18130.python-list at
> On Tue, Oct 28, 2014 at 6:35 PM, ast <nomail at> 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