I thought that what I wanted to do would be simple enough, but obviously not.
I want to use the tkinter scale to control the range and value that the user can enter.
In my case, I want to enter the time value in seconds and display it in minutes: the format of seconds so that someone can understand this, say 330 seconds == 5:30.
Since this is not the standard format of the scale widget that I want to do is specify the time in mm: ss format next to the scale widget.
In my code example, I see a change in the scale value, but so far I canβt change the display of mm: ss when zooming (I have to click a button to update it). Since I want the end result to be an idiot as much as possible, I need the mm: ss display to dynamically change with the slider.
At this point, I seem to have exhausted all the online examples that I can find, and none of them do what I want (an extra click of the button is required for the conversion).
I am sure that I will feel stupid when I learn how to do it, but now my head hurts, trying to understand it.
Does anyone have an example of this kind of behavior that they can share?
source share