python TK scrollbar problem

Ray ruiligc at earthlink.net
Tue May 1 06:47:02 EDT 2007


James Stroud wrote:
> 
> You are not binding to the Scrollbar.set() method nor are you assigning 
>  the Scrollbar a command. You should try to emulate this:
> 
> http://www.pythonware.com/library/tkinter/introduction/x7583-patterns.htm
> 
> You need to also determine exactly what it is you want to scroll. You 
> probably don't want to scroll frame_grid as that contains your 
> scrollbar. Google "tkinter scrolled frame". Here is an example:
> 
> http://mail.python.org/pipermail/python-list/2007-February/427886.html
> 
> So, a suggestion would be to create a new frame to hold frame_grid and 
> yscroll and then use yscroll to scroll frame_grid.
> 
> James

entry do not have .yview and yscrollcommand.
I will try to scroll frame_grid with a new frame.

thanks

Ray



More information about the Python-list mailing list