As a workaround you can get the status by calling:
print root.tk.call('eval','%s edit modified'%self.textwidget)
where self.textwidget is the variable where the text widget was assigned to.
As a workaround you can get the status by calling:
print root.tk. call('eval' ,'%s edit modified' %self.textwidge t)
where self.textwidget is the variable where the text widget was assigned to.