Re: Gtkmm: object creation delays
- From: Eduardo M KALINOWSKI <ekalin bol com br>
- To: gtk-app-devel-list gnome org
- Subject: Re: Gtkmm: object creation delays
- Date: Wed, 06 Jul 2005 15:47:35 -0300
Andre Street wrote:
I've just finished my first Gtkmm front panel. I managed to solve most problems, except this one....
I have a loop which is supposed to 
1. perform an action, 
2. .set a Pixmap 
3. repeat above a number of times.
Problem is, when the loop is performed, the pixmaps only appear as a group, apparently written all at once 
when the entire function ends (I've not proved exactly which point). I'd like them to appear as and when 
each loop iteration is performed - the (1. Action)step can take several seconds to perform, and the user is 
kept updated this way.
 
Use the Gtkmm equivalent of
while (gtk_events_pending())
    gtk_main_iteration();
when you want the display to be updated.
-- 
Whom the gods wish to destroy they first call promising.
Eduardo M KALINOWSKI
ekalin bol com br
http://move.to/hpkb
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]