Re: help image scrolling



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.

.



Relevant Pages

  • Re: help image scrolling
    ... Scrolling in general was ... You mentioned that the Tclkit you downloaded didn't have the Img ... (and other Tcl extensions on your computer) ... just add the directory/directories where the extensions ...
    (comp.lang.tcl)
  • Re: help image scrolling
    ... thank you for the code showing me how i can use Img package ... You mentioned that the Tclkit you downloaded didn't have the Img ... (and other Tcl extensions on your computer) ... just add the directory/directories where the extensions ...
    (comp.lang.tcl)