RE: Update progress bar without returning to main loop?



I've put an example in cvs. If you are sure about the idea below, then
you might want to provide a patch for it:
http://bugzilla.gnome.org/show_bug.cgi?id=317424

Likewise if someone has some other improvement for it.

> 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
> 
> 
> If that is the case, a small update to the example I made could be used to
> illustrate the point.

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com





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