From: Detlef R. <det...@gm...> - 2014-05-26 02:47:12
|
hi, Am 25.05.2014 20:54, schrieb Michael Below: > My code shows only the last image. Seems like the window is not updated > while the initial code is run. I would like to force an update at the > end of each #each iteration. How may I do that? Is there a better way? I don't tested it, but I think the problem is, that you while fetching your images never go back to your Gtk main loop. This is necessary to get the updates done. So after creating every Gtk::Image you should add this line. I think, that it will help. Gtk.main_iteration while Gtk.events_pending? Cheers, detlef |