logo       

Re: Refreshing TextViews: msg#00144

gnome.gtk+.python

Subject: Re: Refreshing TextViews

On Tue, Aug 19, 2003 at 10:34:06PM -0500, Jason Stitt wrote:
> sig_insert = buffer.connect("insert-text", bufferInsert)
>
>
> A typed character will appear immediately, but it will not turn green until
> the next update/event -- for example, typing another character, clicking the
> mouse, or even a blink of the text cursor. I'd like it to be green
> immediately :) Any way to do this?

Have you tried connect_after? insert-text is triggered *before* the text
is in the widget.

Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
_______________________________________________
pygtk mailing list pygtk@xxxxxxxxxx
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise