March 2018
Beginner to intermediate
422 pages
10h 33m
English
Next, we will update the position of the seek bar knob and the elapsed play duration, as shown in the following screenshot:

This is nothing but a simple form of Tkinter-based animation.
The most common pattern of animating with Tkinter involves drawing a single frame and then calling the same method using the after method of Tkinter, as follows:
def animate(self): self.draw_frame() self.after(500, self.animate)