Scrolling line number Tkinter

Martin Franklin martin.franklin at westerngeco.com
Wed Mar 13 04:12:01 EST 2002


Fabien Henon wrote:

> I am currently writing a text editor for POV-RAY under Windows using
> Tkinter. It should be working as well with linux and Mac.
> 
> To display the line numbers, I use a scrolling column at the left of the
> editor with a text box.

Can you please explain what a scrollng column is? Perhaps if you post some 
code we could help some more.


> 
> I also linked the main text editor with a scroll.
> 
> My problem is that the text editor is well linked to the scroll, but the
> line numbers do not move when I use the arrow cursors.
> 
> Thanks for any help
> 
> Fabien

It sounds like you need to link both the scrolled column and text box to 
the same scrollbar....



More information about the Python-list mailing list