Re: frozen GUI!!! urgent help required!



yes, it is common to more or less all GUI toolkits, regardless of OS
platform. 

>Isn't there a way to shortly stop calculations (for a necessary minimum
>of time) and let the GUI gather possible events? Could this work
>this way somehow? Any suggestions?

somewhere inside your calculations, call this reasonably often:

	  while (gtk_events_pending()) {
	      gtk_main_iteration();
	  }

that will update the GUI while your calculations proceed.

--p



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