Think about Loose Coupling | |
PerlMonks |
TK Pane->yview not working?by jsteng (Beadle) |
on Apr 22, 2018 at 13:19 UTC ( [id://1213368]=perlquestion: print w/replies, xml ) | Need Help?? |
jsteng has asked for the wisdom of the Perl Monks concerning the following question:
Trying to debug my script, I broke it down to bare minimum:
Above script suppose to create a Pane, then populate it with 100 labels. So far so good. Uncommenting the line $pane->yview($label);, it is suppose to scroll to the bottom. But I get this error: Can't call method "Call" on an undefined value at C:/Perl/site/lib/Tk/Pane.pm line 346. What is wrong? According to documents (http://search.cpan.org/~srezic/Tk/Tk/Pane.pm): $pane->yview(moveto => 1) Is how to scroll to the very bottom but it is not doing so. Why?
Back to
Seekers of Perl Wisdom
|
|