aplication to yield for processing of events




In my Gtkmm-2.0 application I have a very busy loop that performs calculations and that takes quite a while. In the meantime, I would like my program to be able to process events like resizing, redraw, button presses etc. What is the way to do that (I don't seem to find anything in the docs).

for(...)
{
	read data from file
	do calculation

	yield to process events <-???????????????????
}



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