tkinter undo

kyosohma at gmail.com kyosohma at gmail.com
Mon Apr 30 16:17:11 CEST 2007


On Apr 28, 8:50 am, Gigs_ <g... at hi.t-com.hr> wrote:
> Hi
>
> I dont have idea how to write tkinter undo/redo function form my text editor and
> my paint program.
> Could someone help? I'm not asking for code, just for some guidelines to get me
> in the right way.
>
> thanks

>From what I've read, the Tkinter Text widget has an unlimited undo/
redo function built into it. If you use it for text editing, you
shouldn't need to worry about it. If you want to do it yourself, I
would recommend reading the code behind that widget or reading the
code behind IDLE itself.

Mike




More information about the Python-list mailing list