Q on Tkinter Scrollbar
Michael Vezie
mlv at pobox.com
Mon Apr 26 15:49:35 EDT 1999
In article <370CFAC8.32EB0B29 at ingr.com>,
Joseph Robertson <jmrober1 at ingr.com> wrote:
>Hi everyone,
>
>I want to manually control the scrollbar in a tkinter app, i.e. I don't
>want to tie it to another widget as a child. Below is what I have so
>far. I can't figure how to make the 'thumb' stay at the returned
>position, or the point where the user drags it. Right now it always
>pops back to the top.
I think you need to, in _vscroll, set the position of the scrollbar.
I did this exact thing in a tcl app once, so I know it's possible.
It's a bit of work to figure out where things are supposed to be, but
you're going to have to tell it what being halfway down means anyway.
Michael
More information about the Python-list
mailing list