Scheduling actions

A basic technique to prevent blocking the main thread in Tkinter is scheduling an action that will be invoked after a timeout has elapsed.

In this recipe, we will take a look at how to implement this with Tkinter using the after() method, which can be called from all Tkinter widget classes.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset