Don't know, how you get the images. However, if I have to do some gui
and some other I/O, I usually use twisted, where you don't have the
troubles of synchronizing your data for different threads/processes. You
can integrate the twisted reactor into the gtk main loop.
http://twistedmatrix.com/documents/current/core/howto/choosing-reactor.html#auto11
- Patrick
On 2011-02-14 01:32, GSO wrote:
Quick coding problem if I may.
I am displaying jpegs from CCTV cameras in a HBox, but need some way
to refresh the images in that box. I need to show the main window,
but then refresh the images in that window. How would I do this given
after opening the window the programs then waits at the gtk.Main event
loop.
Have tried with the multiprocessing module, but any new threads don't
seem to be able to access the memory of the main window to be able to
refresh the images.
RHEL6, pygtk2 v2.16, Gtk v2.18.9
Thanks in advance,
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/