vlsimpson has asked for the wisdom of the Perl Monks concerning the following question:
Can I get a hint on centering a line in a Tk::Text widget please.
I'm using $text->see("index") to move to a line in a file, but if it's only a couple of lines invisible it moves up to bottom of window. I'd like to have the line centered in the window (for context purposes).
I've 'Super Search'ed and 'Googled'(TM) my ass off I don't have anything left to sit on ;)
Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl::Tk--Center line in Text Widget
by Kirsle (Pilgrim) on Dec 18, 2009 at 23:24 UTC | |
by vlsimpson (Beadle) on Dec 19, 2009 at 07:29 UTC |