Re: Update progress bar without returning to main loop?
- From: Armin Burgmeier <armin arbur net>
- To: gtkmm-list gnome org
- Subject: Re: Update progress bar without returning to main loop?
- Date: Mon, 26 Sep 2005 23:50:39 +0200
I do not think that this approch will work: GTK+ just pushes events like
timer or idle calls onto the event queue and will execute them (e.g.
call corresponding signal handlers) when gtk_main() regains control.
If the calculation which should show the progress bar takes long time,
timer events will not be emitted during this period (except that the
calculation function calls Gtk::Main::iteration()) but delayed until the
calculation has finished. No progressbar update will be visible.
- Armin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]