Undostack.py provide undo/redo functional for pygtk's gtk.TextView. Using: editor = undostack.TextEditor() textbuffer = textview.get_buffer() textbuffer.undo() And the same you can using redo
Undostack.py provide undo/redo functional for pygtk's gtk.TextView. Using: editor = undostack.TextEditor() textbuffer = textview.get_buffer() textbuffer.undo() And the same you can using redo