[Gtk-sharp-list] thread safety issues with Gtk TreeView

Mike Kestner mkestner@speakeasy.net
Sun, 14 Sep 2003 23:44:06 -0500


On Sun, 2003-09-14 at 23:41, Mike Kestner wrote:
> On Sun, 2003-09-14 at 10:35, Davy Brion wrote:
> 
> > i have a widget which contains a Gtk TreeView.  New rows are added to the 
> > TreeView from a different thread than the GUI thread.  At random times in my 
> > application the GUI will freeze up and this exception occurs:
> 
> You must perform all updates to the GUI from the GUI thread. 

Oops, premature send.  You may want to look at the Gtk.ThreadNotify
class that Miguel added.  I believe he uses it in mPhoto to queue
updates to the GUI from other threads.

-- 
Mike Kestner <mkestner@speakeasy.net>