To find the canvas coordinate that is currently being displayed at the top left corner of the canvas window, use:
my $canvasTLx = $canvas->canvasx( 0 ); my $canvasTLy = $canvas->canvasy( 0 );
See also the -confine & -scrollregion options to the canvas widget.
In reply to Re: getting visible area of Tk::Scrolled?
by BrowserUk
in thread getting visible area of Tk::Scrolled?
by halley
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |