2009/2/23 Rapha222 <[email protected]>:
>
> GTK is 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.
>


You can dispatch all changes to the main loop using Application.Invoke
(). This is IMO the easiest way to work with Gtk in a multi-threaded
application.
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to