Использую gtkmm в цикле идет обработка. хотелось бы, обойдясь одним потоком, крутить там же прогресс бар. Делаю так: progressBar->pulse(); Gtk::Main::events_pending();
Progress Bars are usually used with timeouts or other such functions (see section on Timeouts, I/O and Idle Functions) to give the illusion of multitasking. All will employ the gtk_progress_bar_update function in the same manner.