Is there a way to get a Scrollbar widget to control two widgets?
I would like to do something like:
...
self.textbox1 = Text(self.myc, yscrollbarcommand=self.scrollbar1.set)
self.textbox2 = Text(self.myc, yscrollbarcommand=self.scrollbar1.set)
self.scrollbar1.config(command=self.textbox1.yview)
self.scrollbar1.config(command=self.textbox2.yview)
....
I understand the second self.scrollbar1.config is the only valid binding for
scrollbar1.
Any hints on how to do this ?
Thanks,
tkinter newbie
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss