Re: aplication to yield for processing of events
- From: "Marco Scholten" <mscholtn xs4all nl>
- To: "Konstantin L Kouptsov" <klk206 panix com>
- Cc: "gtkmm-list gnome org" <gtkmm-list gnome org>
- Subject: Re: aplication to yield for processing of events
- Date: Thu, 09 Dec 2004 00:37:01 +0100
On Wed, 08 Dec 2004 11:48:41 -0800, Konstantin L Kouptsov
<klk206 panix com> wrote:
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 <-???????????????????
}
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
for(...)
{
read data from file
do calculation
while(Gtk::Main::events_pending())
Gtk::Main::iteration();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]