Re: help image scrolling
- From: suchodj@xxxxxxxxxx
- Date: Sun, 30 Apr 2006 11:44:34 +0200
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.
.
- References:
- help image scrolling
- From: suchodj
- Re: help image scrolling
- From: Aric Bills
- Re: help image scrolling
- From: suchodj
- Re: help image scrolling
- From: Aric Bills
- help image scrolling
- Prev by Date: Re: help image scrolling
- Next by Date: Re: Handling paths of length > 260 in Tcl on Windows
- Previous by thread: Re: help image scrolling
- Next by thread: Re: help image scrolling
- Index(es):
Relevant Pages
|