Mar-04-2020, 06:24 AM
Nice that everyone agrees about not using globals, but this does not help "pythonbeginner". For the ttk.Button() uses a parameter "command", and the documentation states:
So nothing with parameters or return values.
Quote:Python callable. Will be called with no arguments whenever either of the increment or decrement buttons are pressed..
So nothing with parameters or return values.