Re: Update progress bar without returning to main loop?



[ ... ]



It's really just a matter of replacing

wait_on_system();

with

pb->gdk_window()->process_updates(false);

in the example, I believe.

_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list

I eschew your point Toralf, and to prove that no good deed (or idea) goes unpunished, I pass the torch of example code making to you. :)

Right. I ought to have learned by now not to make suggestions, but no...

Seriously, though, I thought I might wait for a clean version of the variant with nested event loops, then publish a modified version of that. But it may seem like someone else volunteered to do the job...

- Toralf




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