On dimanche 13 juillet 2008, [EMAIL PROTECTED] wrote:
> im trying write simple app for viewing my photo collection.
> and now i have little problem. I want update IconView after
> every
> single loaded photo and not update after all photos loaded.
I think you have to launch a thread which will parse your photos, and
update the GUI.
You will have to take care about asynchronous refresh from that thread: you
can't just call gtk methods from it. The solution is to create a queue,
where threads put commands, and have this queue read by the main thread
(using timeout_add). I can send you such 'serializer' if you want...
--
Frédéric
http://www.gbiloba.org
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/