Programmatic control of scroll position in PmwScrolledFrame

fernstrom at geocities.com fernstrom at geocities.com
Thu Feb 1 16:58:04 EST 2001


I would like to set the scrolling in a PmwScrolledFrame programatically
(in order to retain the same scroll position every time the same
information is displayed in the frame). I have tried two ways:

 - by using get() and set() in the scrollbar of the scrolledframe object.
get() returns plausible values, but set() has no effect

 - by using the private function in PmwScrolledFrame. _yview(), with
first parameter set to 'moveto'. Doesn't work either.

Does anybody have a clue?

    christer


Sent via Deja.com
http://www.deja.com/



More information about the Python-list mailing list