|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
Re: Perl/Tk Scrollby zentara (Cardinal) |
| on Oct 31, 2011 at 10:50 UTC ( [id://934862]=note: print w/replies, xml ) | Need Help?? |
|
As Keszler said You need to set the canvas' scrollregion to the size of the image (plus anything else on the canvas). You will probably need this trick eventually for resizing the canvas's scrollregion. After you add things to the canvas, you reset the scrollregion to the bbox ( bounding box) for 'all' items. Works great. I'm not really a human, but I play one on earth. Old Perl Programmer Haiku ................... flash japh
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||