Re: Another question about foreach loops and gtk

2008/6/24 Mike Martin <redtux1 googlemail com>:
I have a long-running foreach loop which I want to give feedback through the GUI

The GUI is only updated in idle cycles on the main loop. Therefore,
you should consider doing things in idle cycles (see Glib::Idle), or
use Gtk2->main_iteration() while (Gtk2->events_pending);



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