Scrolling line number Tkinter
Fabien Henon
ffjhenon at club-internet.fr
Thu Mar 14 17:01:48 EST 2002
Martin Franklin wrote:
> 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....
>
What I mean by scrolling column is a column in which are displayed all the line number of the text.
I want this column of lines to scroll with the edited text.
cheers.
More information about the Python-list
mailing list