Tkinter.Text.edit_modified

Text.edit_modified(arg=None)[source]

Get or Set the modified flag

If arg is not specified, returns the modified flag of the widget. The insert, delete, edit undo and edit redo commands or the user can set or clear the modified flag. If boolean is specified, sets the modified flag of the widget to arg.