Just another Perl shrine | |
PerlMonks |
Perl::Tk--Center line in Text Widgetby vlsimpson (Beadle) |
on Dec 18, 2009 at 18:58 UTC ( [id://813417]=perlquestion: print w/replies, xml ) | Need Help?? |
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
Back to
Seekers of Perl Wisdom
|
|