Using Tkinter in Python 2.7. 
What I need is to be able to check regularly if the text in the widget has been changed. Ideally, I would have been able to call a function each time a change to the text was made or the widget was used, but this seems impossible.
More specifically, I want to be able to have a label change between "original", "altered", "empty" and "new". Where e.g. "original" refers to a text that was fetched from the Internet, "altered" refers to an "original" that has been edited, and "new" is activated if text is typed in manually after the widget has been "empty".
Creating a new thread manually to do the comparisons has crossed my mind, but I am not very familiar with threading and was hoping that there was a more elegant way to accomplish this.
					What I need is to be able to check regularly if the text in the widget has been changed. Ideally, I would have been able to call a function each time a change to the text was made or the widget was used, but this seems impossible.
More specifically, I want to be able to have a label change between "original", "altered", "empty" and "new". Where e.g. "original" refers to a text that was fetched from the Internet, "altered" refers to an "original" that has been edited, and "new" is activated if text is typed in manually after the widget has been "empty".
Creating a new thread manually to do the comparisons has crossed my mind, but I am not very familiar with threading and was hoping that there was a more elegant way to accomplish this.
Comment