The Tcl/Tk search/find library module has the file name finddlg.tcl. This module contains procedures that present a find dialog and search through text widget contents for matching text.
Here is a list of procedures in the this module:
No other modules are required with this module.
This module does not require any definition files.
Declaration : proc finddialog {textwidget} Parameters : Name : textwidget Type : text widget name Description : text widget to search
This procedure will present a non-modal find dialog and call the findtext procedure when a search is requested. The procedure exists when the dialog is destroyed (upon close).
Declaration : proc findtext {entrywidget textwidget} Parameters : Name : entrywidget Type : dialog name Description : name of find dialog Name : textwidget Type : text widget name Description : text widget to search
This procedure will search though the text widget either from the beginning of the text or from the last saved text search position.