Tkinter: Don't push the undo stack on delete text on tk.Text widget

Viewed 47

I am using Tkinter and Python3.7. I want to don't push record to stack of undo. tk.Text widget's delete method is do push stack on called it.

self.text_widget.delete(1.0, 'end')   # push stack!

But this is not needed in my program. How to do it?

0 Answers
Related