Hi!

I'm working on a demo of special type of scrollbar. This custom widget
is almost done, but I need to attach it to a textview to have something
to scroll.

Now, to me it looks like I should stick the textview into a viewport.
There's no advantage in using a scrolledwindow with v and h policy
NEVER, right?

As a first step I tried to just change the part of the textview that is
visible. This by getting an adjustment for the viewport and changing the
value. I tried several ways, but didn't get it to work. There must be
something I'm missing here.

Could you please give me a short example of how to scroll a viewport
with a textview in it?

-- 
Thorsten Wilms

thorwil's design for free software:
http://thorwil.wordpress.com/

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to