[Gtk-sharp-list] Problem with threaded GTK# Application on Windows

Adam Tauno Williams awilliam at whitemice.org
Mon Feb 23 09:00:00 EST 2009

> > On Tue, Feb 10, 2009 at 4:12 PM, Rapha222 <raphaeljavaux at gmail.com> wrote:
> >> I'm making a GTK# application for Linux and .NET, and I need to use the
> >> threads fonctions of GTK.
> > Is there a reason you have to?  Why does System.Threading.Thread not work?
> GTK is thread safe, 

I think you mean "Gtk is *not* thread safe"

> so you can't to modify Gtk Widgets from another thread
> that the thread which is running the MainLoop (Application.Run()), unless if
> you use Thread.Enter() and Thread.Leave() to stop the mainloop during the
> modifications.

Lots of good recommendations at

More information about the Gtk-sharp-list mailing list