help building a chain-of-command (or maybe Object Oriented Recursion)
robin at jessikat.fsnet.co.uk
Sun May 27 17:55:43 CEST 2001
In article <mailman.990964420.32234.python-list at python.org>, Laura
Creighton <lac at cd.chalmers.se> writes
>But there is a problem. The Scrollbar Widget and the other Widget
>that is going to be scrolled really need to know about each other.
>To connect a scrollbar to a widget, you have to set the widget's
>(x or y)scrollcommand callbacks to the set method of the scrollbar, and
>set the scrollbar's command to the (x or y)view method of the widget.
I guess you're talking about some kind of inter component api; It's not
sufficient to just add the scrollbar bit as it affects the receiving
widget as well.
>Thanks for listening.
More information about the Python-list