For Programmers: Free Programming Magazines  


Home > Archive > PerlTk > March 2005 > undo in the Text widget









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author undo in the Text widget
Robert

2005-03-08, 8:59 pm

I know that Tcl/Tk has an -undo option for the text widget. I could not
find this option in my Perl/Tk book. Does Perl/Tk have the equivalent?

Robert
Matthew Braid

2005-03-09, 3:58 am

Robert wrote:
> I know that Tcl/Tk has an -undo option for the text widget. I could not
> find this option in my Perl/Tk book. Does Perl/Tk have the equivalent?
>
> Robert


-undo is new I think, and I don't think it actually does anything - in
the perldoc for Tk::Text there's a lot of 'UNIMPLEMENTED - use
Tk::TextUndo' when it comes to undo/redo options.

MB
Robert

2005-03-11, 3:58 pm

In article <d0lprr$pd2$1@bunyip2.cc.uq.edu.au>,
Matthew Braid <not@invalid.invalid> wrote:

> Robert wrote:
>
> -undo is new I think, and I don't think it actually does anything - in
> the perldoc for Tk::Text there's a lot of 'UNIMPLEMENTED - use
> Tk::TextUndo' when it comes to undo/redo options.
>
> MB


Thanks, yeah I had the -undo (which does work on the Tcl/Tk side of
things) and was scratching my head about why my app wasn't allowing an
undo action.

I will look at Tk::TextUndo...

Robert
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com