OK, cheers, got that. Would never have guessed that that was lurking down there in the darkest depths of gobject. Will have to study that tutorial properly.
I'm creating a PyGtk desktop client for motion http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome - a CCTV program. The GUIs available all require Apache and MySQL - which is overkill if you don't need the industrial level features, it's better keeping things simple as well for security reasons. I haven't ever created or managed an opensource project before (or used Python or Gtk for that matter, they are both pretty cool though). But I am at this point I think now I have that working heading over to Google code. The project will be called gmotion. On 14 February 2011 01:19, [email protected] <[email protected]> wrote: > I'd suggest using either an idle or timeout callback. That should > solve your immediate issues. > > http://www.pygtk.org/pygtktutorial/ch-timeouts.html > > If you're working with multimedia (in particular if it's likely you'll > want to provide live feeds in future) I'd suggest having a look at > gstreamer, which integrates nicely into the GTK main loop. > > On Mon, Feb 14, 2011 at 1:32 PM, GSO <[email protected]> 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/ _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
