I'm new to Tkinter and it's my understanding that we can't use threading with Tkinter. So I was wondering if there is an alternative to threading, or if there is a simple way to run a background timer?
Basically I want to replace the elements of my root with different elements after a certain amount of time without putting a stop to the execution of the program.
This is what I tried before I realized that threading is not an option in Tkinter:
def checkGridElements():
time.sleep(5)
label1.grid_forget()
label2.grid(row=0,column=0,sticky=E,padx=5,pady=5);passEntry.grid(row=0,column=1,sticky=W,padx=5,pady=5)
return
t = threading.Thread(target=checkGridElements)
t.start()