The see method causes the Text widget to show the portion of it that contains index:
$text->see(index);
The text within the widget will be scrolled up or down as a result of this call. If the index is already visible, nothing happens.
Copyright © 2002 O'Reilly & Associates. All rights reserved.