+ 8

How to get automatically access to the values of python tkinter sliders?

I mean, when we move sliders, we should get the values of it, so we call function get_val() when moving sliders

2nd Mar 2019, 12:31 PM
Zhenis Otarbay
Zhenis Otarbay - avatar
2 Answers
+ 3
slider.get() This method of the slider class will return the value of the slider. If you wish to print out the slider value, you would do this: print(slider.get())
2nd Mar 2019, 12:43 PM
Nathan Lewis
Nathan Lewis - avatar
+ 9
Nathan Lewis , could you, modify this code with your idea, please, i did not get what you mean: https://www.sololearn.com/Discuss/1709157/?ref=app
2nd Mar 2019, 12:58 PM
Zhenis Otarbay
Zhenis Otarbay - avatar