Re: help image scrolling
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: help image scrolling

From: Aric Bills <aric.bills@gmail.com>
Date: Sun Apr 30 2006 - 01:46:32 CEST

I should have clarified in my earlier posting, the scrolling behavior
of the text widget is what was enhanced. Scrolling in general was
already quite good :)

I agree with Gerald, a canvas is probably the best way to allow users
to scroll an image.

You mentioned that the Tclkit you downloaded didn't have the Img
package. For what it's worth, you can use your current copy of Img
(and other Tcl extensions on your computer) with your new tclkit. When
you fire it up, just add the directory/directories where the extensions
live to the global variable $::auto_path. Something like:

lappend auto_path C:/tcl/lib

Then each time you call [package require], it will look in C:/tcl/lib
as well as any other directory in $auto_path.
Received on Sun Apr 30 03:32:02 2006