[Gtk-sharp-list] Refresh of elements in a treeview
Mike Kestner
mkestner@ximian.com
Tue, 16 Nov 2004 18:13:24 -0600
On Tue, 2004-11-16 at 22:10 +0000, Mike Rhodes wrote:
> In basic terms, I have several items that I add to a treeview. I then
> start a thread that updates these items with more detailed information
> that needs to be drawn into the treeview to replace the current data.
Key phrase being, "start a thread." As has been mention on this list
numerous times, and is listed in the FAQ:
http://gtk-sharp.sourceforge.net/faq.html#3.5
you can not update GUI elements from a thread other than the main gui
thread. Doing so will cause badness.
--
Mike Kestner <mkestner@ximian.com>