O'Reilly logo

Tkinter GUI Application Development Blueprints - Second Edition by Bhaskar Chaudhary

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Fast forward/rewind function

The codes for fast forward and rewind are the simplest. We have already defined the methods to handle this in the Player class. Now, it's only a matter of connecting them to the concerned command callback, as follows:

def on_fast_forward_button_clicked(self):  self.player.fast_forward()def on_rewind_button_clicked(self):  self.player.rewind()

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required