Thorsten Wilms wrote:
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?

A textview has adjustments built-in so it doesn't need to be put inside a viewport. Use the set_scroll_adjustments() method to set the adjustments for the textview.

John
_______________________________________________
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