From: Joe Laughlin Date: 2004-08-24T03:55:43+09:00 Subject: Re: Gtk::TreeView slow? Masao Mutoh wrote: > Hi, > > On Fri, 20 Aug 2004 05:55:52 +0900 > "Joe Laughlin" wrote: > >>>> Or, have you tried GLib::Object#freeze_notify, >>>> #thaw_notify? >>>> They may make your application faster. >>> >>> I haven't tried that, I will and get back to you. >> >> http://ruby-gnome2.sourceforge.jp seems to be down. :( > > Now you can see it, though there is no answer what you > want. > >> Would I call freeze_notify on the ListStore or on the >> TreeView? > > I'm not sure. Try it to both classes. > >> The rows update on time if I'm scrolling through the >> TreeView at the same time that the data is updated, but >> if I'm not scrolling, the data shown is much behind the >> updated data. Are there any ways I can fix this? > > Hmm. Did you try google? > > I found some informations, for example: > http://www.pygtk.org/pygtk2tutorial/sec-TreeModelInterface.html#sec-LargeDataStores Thanks for the link, but my problem is not adding new rows to the ListStore, it's showing the update when the object(s) in the ListStore are updated. > > Anyway, try to remove > Gtk::TreeViewColumn#set_cell_data_func once.