GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  TK::TEXTUNDO (3)

.ds Aq ’

NAME

Tk::TextUndo - perl/tk text widget with bindings to undo changes.

CONTENTS

SYNOPSIS

<B>use Tk::TextUndo;B>

$testundo = $parent-><B>TextUndoB>(?-option=>value, ...?);

DESCRIPTION

This IS-A text widget with an unlimited ’undo’ history but without a re’undo’ capability.

    Bindings

The TextUndo widget has the same bindings as the Text widget. In addition there are the following bindings:
Event <L4> <<Undo>> undo the last change. Pressing <L4> several times undo step by step the changes made to the text widget.

    Methods

The TextUndo widget has the same methods as Text widget. Additional methods for the TextUndo widget are:
$text->Load($filename); Loads the contents of the $filename into the text widget. Load() delete the previous contents of the text widget as well as it’s undo history of the previous file.
$text->Save(?$otherfilename?) Save contents of the text widget to a file. If the $otherfilename is not specified, the text widget contents writes the file of $filename used in the last Load() call. If no file was previously Load()’ed an error message pops up. The default filename of the last Load() call is not overwriten by $otherfilename.
$text->FileName(?$otherfilename?) If passed an argument sets the file name associated with the loaded document. Returns the current file name associated with the document.

KEYS

widget, text, undo

SEE ALSO

Tk::Text, Tk::ROText
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 TEXTUNDO (3) 2013-11-15

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.