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

Davy Brion davy.brion@pandora.be
Wed, 17 Sep 2003 20:01:00 +0000


On Monday 15 September 2003 04:44, Mike Kestner wrote:
> 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.

Thanks, this did exactly what i wanted :)=B5