regards,
elektrikblues
Semi automatic is the best you can do.
First find out the size of the display (see wm and winfo commands)
Then change then, set the initial canvas size accordingly.
Next (and I do not recommend this step) you could put all of your items on
the canvas and then rescale them) -- this may make some things look funky.
What I would do is put the items full size on the canvas, see what the bbox
is for the entire thing, set that to my scrollregion of the canvas, and
attach a pair of scrollbars to the canvas.
--
+------------------------------------------------------------------------+
| Gerald W. Lester |
|"The man who fights for his ideals is the man who is alive." - Cervantes|
+------------------------------------------------------------------------+
with vanilla Tk Canvas: not really.
Zinc allows scaling (transformations) for
any element and for the entire window.
Although transformations on the root group
behave different to groups deeper in the
hierarchy.
Porting a Tk Canvas to Zinc is rather
a lot work ...
... and you shoud not have embedded windows,
they are overdrawn (invisible under aqua).
Tkpath 0.3.1 with Tk 8.5 allows scale
transformations for the root group, too;
here you will have to port all Tk Canvas
items to their tkpath equivalent,
transformations do not work for the Tk Canvas
items...
If you want decluttering: go for Zinc.
-roger