Timed Callback within Tkinter? Timed Callback within Tkinter? tkinter tkinter

Timed Callback within Tkinter?


Figured out my own question after doing some poking around. Timed callbacks can be accomplished with the .after() method:

class App:    def __init__(self):        self.root = tk()    def SendValues(self,event):        # Code that sends the values of all the scales upon a button press    def ReceiveValues(self):        # Code that receives the values and sets the according Tkinter variables        self.root.after(1000, self.ReceiveValues)