[pygtk] textview + scrolledwindow

Tobias Bengtsson tobbe at tobbe.nu
Wed Aug 2 18:11:52 WST 2006


Hi

I'm trying to make a scrolledwindow scroll to the position of the cursor =

in a textview. I've read faq: =

http://www.async.com.br/faq/pygtk/index.py?req=3Dshow&file=3Dfaq14.010.htp

but cannot get it right. The insert-at-cursor callback never gets called =

and the scroll function from faq doesn't work. I must have misunderstood =

something.. My code is attached.

kind regards, Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: multiline.py
Type: text/x-python
Size: 1539 bytes
Desc: not available
Url : http://www.daa.com.au/pipermail/pygtk/attachments/20060802/05926294/m=
ultiline.py


More information about the pygtk mailing list