[Mono-list] Calling main thread

Miguel de Icaza miguel@ximian.com
Thu, 10 Feb 2005 12:25:52 -0500


> How to call main (GUI-GTK#) thread from the other - i.e. after
> asynchronous socket event?  In MS.NET I would probably use
> Control.Invoke() and in Delphi TThread.Synchronize.
> The event isn't frequent and performance doesn't really matter.

Use Gtk.ThreadNotify.

Miguel