The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

Tk::TextUndo (3)
  • >> Tk::TextUndo (3) ( Разные man: Библиотечные вызовы )
  •  

    NAME

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

    SYNOPSIS

     use Tk::TextUndo;

     $testundo = $parent->TextUndo(?-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


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    Bindings
    Methods
    KEYS
    SEE ALSO


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру