Hi all,
I need scroll 3 Text widgets with one scrollbar.
All is packed into grid [text, text, text, scrollbar]
all Text widgets have font on same size
how i scroll all 3 widgets 'synced' using scrollbar ?
i have a method which is scrollbar.command
def update_widgets(self, *args):
# scrolling all 3 widgets
for win in self.textwindows:
win.yview_moveto(args[1])
this scrolling widgets but after few 'slides' rows are not synced :(
and second question is 'how i set next 2 widgets and scrollbar if i
scroll some widget using keyboard? '
i think it must be something like scrollbar.set(*args) in
widget.yscrollcommand but i'm trying without luck.
thanks
_______________________________________________
Tkinter-discuss mailing list
[email protected]
http://mail.python.org/mailman/listinfo/tkinter-discuss