Reputation: 45
How can I make that when checkbutton is checked that then all Sliders move like one by using python 3 and tkinter? Thanks for any help! :)
Upvotes: 0
Views: 171
Reputation: 386325
First, you will need to save a reference to each of your sliders, which are instances of the Scale widget. Next, you will need to associate a command with the checkbutton (using the command
attribute) which will be called whenever the checkbutton is checked or unchecked. In that command you can call the set
method of each slider.
Upvotes: 1