Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^5: Valid values of Tk::Text see() function.

by sandfly (Beadle)
on Aug 01, 2004 at 21:45 UTC ( #379142=note: print w/replies, xml ) Need Help??


in reply to Re^4: Valid values of Tk::Text see() function.
in thread Valid values of Tk::Text see() function.

So, you want to ensure that the $linenumbers widget is positioned with the same vertical scroll as the $t widget. Perhaps you should ask $t where to scroll to:
(my $ytop, undef) = $t->yview; $linenumbers->yviewMoveto( $ytop );
(not tested)

Incidentally, how have you managed to display a number such as 950 in a 4-pixel wide widget?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://379142]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (1)
As of 2022-01-25 23:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (69 votes). Check out past polls.

    Notices?