Setting value of Entry using tkinter, MVC and Observables Setting value of Entry using tkinter, MVC and Observables tkinter tkinter

Setting value of Entry using tkinter, MVC and Observables


One thing about this code seems obvious: The functions beginning at

def addcallback(self, func): 

until

def unset(self):

are not part of the Observable class. So the "self" argument is not what you expect it to be. You should indent these functions.