On Fri, May 8, 2009 at 5:24 PM, Martin B. <[email protected]> wrote:
> hi, i write some simple app where i need realtime update gtk.TreeView.
> but window shows and long time nothing happened and after whole
> liststore is filled treeview shown :(

A possible solution is to add a:
   while gtk.gtk.events_pending():
               gtk.main_iteration()

loop after each row insert, to force the UI to update. This will make
adding lots of rows incredibly slow, though, and you will probably
need to look at some scheme of batching updates together if you want
reasonable performance using this approach.

-- 
Neil Muller
[email protected]

I've got a gmail account. Why haven't I become cool?
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to