Aug-20-2019, 09:19 PM
I'm running Python 3.7.4 on a Windows 7 32-bit laptop.
What I'd like to do is write a program where, after taking a numerical input from
the user, the program will draw, say, a black-filled shape (eg circle). Then place
a slider beneath it with the start and end values taken from calcs done from the
input. I'd like a label to the side showing what value the slider is on.
Then, when I drag the slider, I'd like the value of the slider to get passed to
an expression, the result of which, depending on that result, changes the fill color
of the shape.
Is something like this possible? And how would I do it? TIA
What I'd like to do is write a program where, after taking a numerical input from
the user, the program will draw, say, a black-filled shape (eg circle). Then place
a slider beneath it with the start and end values taken from calcs done from the
input. I'd like a label to the side showing what value the slider is on.
Then, when I drag the slider, I'd like the value of the slider to get passed to
an expression, the result of which, depending on that result, changes the fill color
of the shape.
Is something like this possible? And how would I do it? TIA