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: <suchodj@wanadoo.fr>
Date: Sun Apr 30 2006 - 11:44:34 CEST

Hello Aric
thank you for the code showing me how i can use Img package
(and other of course) with Tcl/Tk 8.5.x
friendly
jerome

On 29 Apr 2006 16:46:32 -0700, "Aric Bills" <aric.bills@gmail.com>
wrote:

>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 06:36:37 2006