Re: Update progress bar without returning to main loop?



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]