Re: help image scrolling



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@xxxxxxxxx>
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.

.



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
    ... I should have clarified in my earlier posting, the scrolling behavior ... 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: how to add an existing package to tclkit
    ... > the package of Img, but tclkit does not have this package inside. ... Download SDX tool and use it like following: ...
    (comp.lang.tcl)
  • Re: hiding global variables
    ... I'd starpack the part that is "hot" and access it only through ... I re-checked now tclkit 8.5.1 and threads are not ... Without them tcl compiled code was much securer. ... could be requiring a password in a package like: ...
    (comp.lang.tcl)
  • critcl and packages
    ... I was trying to produce a sample package as described in the critcl ... The script seems to run OK as a script but it fails when trying to ... tclkit criticl.kit -pkg test ...
    (comp.lang.tcl)