On Thu, Nov 27, 2003 at 01:38:29PM +0100, Felix Benner wrote:
> Hi, I'm using a TextView as a telnet terminal and want to scroll the
> view when new output arrives. I use the following code fragment

Quick question: have you had a look at
http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq14.010.htp 

> I Also encounter the problem that clicking in the TextView sets the
> insert mark although the text is neither editable nor the cursor is
> shown. Maybe I have to catch the button_pressed signal there?

Do you actually need the insert mark? I assume you could just do 

      end_iter = text_buffer.get_end_iter()
      text_buffer.insert(end_iter, text)

every time you have something to output.

Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
_______________________________________________
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