[Gtk-sharp-list] GIo or another mechanism of signaling Application.Run

Miguel de Icaza miguel@ximian.com
13 Aug 2002 10:19:43 -0400


Hello!

> 	Use g_idle_add; that has the benefits of:
> 
> 	a) being thread safe
> 	b) having a wake_up fd in the glib mainloop already being polled
> 	   so it will wake up any main thread code in the mainloop/

I have been using this, but it is never calling my callback function
(unless the cursor enters the main window, which makes me suspect that
the wakeup mechanism is not working).

Miguel