[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Multiprocessing and GDK

From: Holger
Subject: Re: [Bug-gnubg] Multiprocessing and GDK
Date: Fri, 06 Jun 2003 18:28:30 +0200

At 17:37 06.06.2003 +0200, Olivier Baur wrote:
* However, during a rollout, the progress window pops up, the rollout info are updated for each new played rollout game, BUT the controls (buttons, frames, progress bar, etc) are not drawn, and I can't click the "Stop" button (which I can't see); when the full rollout is completed, the controls are eventually drawn to the screen and the buttons are active again; * I know the fnAction callback is called from the threads that compute rollouts, but they don't seem to see any pending events (there should be "draw" or "update" events pending since the progress window has been created) and so gtk_main_iteration() never gets called;

I hardly know anything about GTK+, but a little about messages on Windows. I've had a look into the GTK+ documentation and found the following: gtk_events_pending(), gtk_main_iteration(), gtk_main_iteration_do() - http://developer.gnome.org/doc/API/gtk/gtk-general.html#GTK-EVENTS-PENDING
Maybe you could call this once in a while.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]