Re: Update progress bar without returning to main loop?
- From: Toralf Lund <toralf procaptura com>
- To: GTK-- Mailing List <gtkmm-list gnome org>
- Subject: Re: Update progress bar without returning to main loop?
- Date: Wed, 28 Sep 2005 17:17:56 +0200
Foster Gareth wrote:
It you don't, then I daresay
running an event loop is overly complex and/or simply wrong.
Are we saying then, that you do ...
while(Gtk::Main::instance()->events_pending())
Gtk::Main::instance()->iteration(); // if you want to
allow user interaction and redraw
gdk_window()->process_updates(false); // if you want to
allow redraw
Yes. Or that's the way I see it, anyway.
If that is the case, a small update to the example I made could be used to
illustrate the point.
Gaz
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]