in reply to Auto-scrolling scrollbars with Perl Tk

You can use:
$text->see(index)
From the docs:

Adjusts the view in the window so that the character given by index is completely visible. If index is already visible then the command does nothing. If index is a short distance out of view, the command adjusts the view just enough to make index visible at the edge of the window. If index is far out of view, then the command centers index in the window.

UPDATE: you can also see:

$text->yview(moveto => fraction)
$text->yview(scroll => number, what)

Replies are listed 'Best First'.
Re: Re: Auto-scrolling scrollbars with Perl Tk
by Ovid (Cardinal) on Jul 01, 2002 at 19:57 UTC

    Thank you. After I write to the text widget, I then call $txtSummary->see('end'); and it works perfectly.

    Cheers,
    Ovid

    Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.