[Gtk-sharp-list] ThreadNotify Problem Under Windows

Miguel de Icaza miguel at ximian.com
Tue Oct 18 12:19:00 EDT 2005


> I'm sure this must be a known issue, but I've had no luck finding a
> solution.  I'm using Mono- on Windows 2000.  I've found the
> ThreadNotify.WakeupMain() method works, but not in a timely fashion.
> If I set the ReadyEvent delegate to be a method that alters the
> appearance of a widget, the widget's appearance will not change until
> the mouse has been moved within the application window. 

We have heard reports about this, but we have not managed to track down
why Idle handlers are not invoked on Win32 with Gtk#.   We have heard
the report on and off, but we assumed this was fixed in recent versions
of Gtk#

Apparently the Idle handler support in Gtk+/win32 is not the one to
blame, that one works just fine.  So it must be something we are doing
in Gtk#.

Now, the latest version of Gtk# 2 uses Timeouts instead of idle handlers
that will trigger the method immediately instead of the idle time.


More information about the Gtk-sharp-list mailing list