Re: [pygtk] Scrolling gtk.Viewport to a specific location

2008-06-23 Thread Thomas Guettler
Mitko Haralanov schrieb: I have a gtk.ScrolledWindow, which has a gtk.VBox added with a gtk.Viewport. What I would like to do is be able to scroll the gtk.ScrolledWindow to a specific location (one of the gtk.VBox children). I know how to do the actual scrolling (using the h/vadjustments) but

[pygtk] Scrolling gtk.Viewport to a specific location

2008-06-16 Thread Mitko Haralanov
I have a gtk.ScrolledWindow, which has a gtk.VBox added with a gtk.Viewport. What I would like to do is be able to scroll the gtk.ScrolledWindow to a specific location (one of the gtk.VBox children). I know how to do the actual scrolling (using the h/vadjustments) but how do I determine how much