help image scrolling



Hello

after many difficulties i managed to get in the
text widget both an image and scrollbars.
I cannot find a way to scroll my image !!!
any help is welcomed
hereafter is my code
**********

#scrollbars
text .t -yscrollcommand {.s set}
scrollbar .s -command {.t yview}
pack .s -side right -fill y
pack .t -expand yes -fill both
#enabling jpeg
package require Img
#going to the image directory
cd C:/tmp/venise
#getting the image
set im [image create photo im -file 04.jpg]
#inserting image
..t image create end -image im

*******************
thank you
jerome
.



Relevant Pages

  • canvas + horizontal scrollbar
    ... scrollable canvas - wich contains a spreadsheet like frame. ... The scrollbars is not actually scrolling the frame!!! ... } eval grid $row set row ""} ... pack $w.scroll_x -side bottom -fill x ...
    (comp.lang.tcl)
  • Tklibs widget::scrolledwindow mystery
    ... pack .sw -expand true -fill both ... application, displays old-looking scrollbars. ... install hscroll using ttk::scrollbar $win.hscroll \ ... install vscroll using ttk::scrollbar $win.vscroll \ ...
    (comp.lang.tcl)
  • Scrollbar question
    ... I have two scrollbars controlling a widget. ... This works when the scrollbars are dragged, ... If I drag the scrollbars so I can see the very bottom right corder of my ...
    (comp.lang.tcl)
  • Re: Scrollbar question
    ... > I have two scrollbars controlling a widget. ... > command, I want to do something else when the widget I'm controlling gets ... > This works when the scrollbars are dragged, ...
    (comp.lang.tcl)
  • Re: Tk: Text works with TIE, Scrolled doesnt
    ... Yes, because the Text widget ... > but I want scrollbars, ... And since Tk::Frame provides no TIE methods, ... widget reference and tieto that: ...
    (comp.lang.perl.misc)