[Gtk-sharp-list] AsyncCallback + Gtk?
Thu, 08 Apr 2004 14:36:32 -0400
You have to be doing Gdk.Threads.Init () for Enter and Leave to be
On the whole, I do *not* recommend using that however, as it has its own
issues. Look at using Gtk.ThreadNotify.
On Thu, 2004-08-04 at 14:36 -0400, Matt Eaton wrote:
> I'm porting a windows.forms application to gtk and I'm having some
> problems. I use AsyncCallback's for the network traffic. E.g. connecting
> The problem is that the GUI no longer paints after an asynccallback is run.
> I've placed Gdk.Threads.Enter() and Gdk.Threads.Leave() around sections
> of code that interact with Gtk but it doesn't help.
> Any ideas?
> Gtk-sharp-list maillist - Gtkfirstname.lastname@example.org