Please note those are not the coordinates of the screen. They are
the coordinates of the canvas, and the canvas has its own idea of what
x and y mean. I believe a canvas puts 0,0 on the bottom right corner
by default, such that everything you can see sits on negative (less
than zero) coordinates. I'm not really sure though. Anyway, you will
probably have to adjust the position of the canvas yourself before
you use it.
For example:
set ::canvaswidget $::w.outer.canvasframe.canvaswidget
canvas $::canvaswidget
$::canvaswidget configure -bg white
$::canvaswidget configure -height 900 -width 1900
$::canvaswidget configure -xscrollincrement 1
$::canvaswidget configure -yscrollincrement 1
$::canvaswidget configure -scrollregion [list 0 -900 19200 0]
$::canvaswidget xview moveto 0.0
$::canvaswidget yview moveto 0.45
Those values are pretty random here since I don't know what you
want or need. Your case will certainly require different values.
--
Luc
>>