Re: timeout function not called



Thanks,

I have tried to add gtk_main_iteration in various places but it still 
won't work. Also I just want the bar to pulse while growPart is running  - 
just to show something is happening. After grow Part is finished, I want 
to run the ext2resize utility and have a progress bar pulsing through that 
also. I figure whatever solution I get for the growPart can then be 
applied to ext2resize.

Thanks



control hasn't been returned to gtk_main yet?) at which point it is
removed. If I take out the g_source_remove it runs beautifully....but 
only
after growPart has completed. How can I get around this?

Thanks so much

Hi,

I think you can use gtk_main_iteration() to tell gtk handle some of
the pending events. However, unless the progress of the bar is not
related to the computation in growPart, wouldn't it be better to
update the progress bar status from the inside of the growPart
function?

Cheers



_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list





This is an e-mail from General Dynamics Land Systems. It is for the intended recipient only and may contain 
confidential and privileged information.  No one else may read, print, store, copy, forward or act in 
reliance on it or its attachments.  If you are not the intended recipient, please return this message to the 
sender and delete the message and any attachments from your computer. Your cooperation is appreciated.




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