[Gtk-sharp-list] Newbie's TreeView updates *very* slowly

Chris Howie cdhowie at gmail.com
Wed Dec 24 17:11:36 EST 2008


On Tue, Dec 23, 2008 at 4:32 PM, fourthirtysix <fourthirtysix at yahoo.com> wrote:
> My problem is: The treeview is supposed to update each time a result is
> found (5 times in total, one for each row). I do this to show the user that
> progress is being made. Unfortunately, both the data and that statusbar
> functions that I am calling wait until all of the intensive data searches
> are done before refreshing.
>
> Basically, it waits until everything is done, and then refreshes.  Is GTK
> just slow? is it Mono?  Is there a way to get the screen to refresh even
> though I'm running a heavy load operation between refreshes?

Sounds like you are doing everything on the main GTK+ event loop.
This document should explain what's going on and how to remedy it:

http://mono-project.com/Responsive_Applications

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers


More information about the Gtk-sharp-list mailing list