as said in the title I would like that each time a character is typed in a certain entry, a function is called. i tried this :
f = Tk()
f.geometry("600x600+600+100")
svar = StringVar()
svar.set("Pokemon 1")
def test(self,mode,callback):
print(svar[0].get())
svar.trace_variable("w", test)
def test():
print(svar.get())
entry = Entry(f, textvariable = svar, justify = "center", bg = "white")
entry.place(anchor = "nw", x = 5+x*320, y = 30, width = 270, height = 25)
f.mainloop()
i dont understand the "self" "mode" "callback" and "w"