awesome! Thanks! /p On 6 July 2011 14:32, Ian Ward <[email protected]> wrote: > Patrick Totzke wrote on 2011-07-06 05:45: >> Yes, I was indeed thinking of named pipes. I haven't done that much >> thread programming so far. >> So what I would want to do here is >> 1) define a callback that will update my widgets >> 2) call mainloop.watch_pipe with that callback, storing the >> pipe-handle somewhere, >> 3) fork/start a thread that can access the pipe-handle, do something >> 4) write to the pipe from inside the thread >> am i right? >> thanks! > > That's right. I've pushed up an example here (this one uses > subprocess.Popen, but the concept is the same): > > http://excess.org/urwid/changeset/551%3Ae79886942bd7 > > _______________________________________________ > Urwid mailing list > [email protected] > http://lists.excess.org/mailman/listinfo/urwid >
_______________________________________________ Urwid mailing list [email protected] http://lists.excess.org/mailman/listinfo/urwid
