[PyKDE] (newbie) async stuff

Greg Green gregory.p.green at boeing.com
Thu Apr 4 20:14:58 BST 2002


Eli writes:
 > (If this isn't the right place to ask, please point me in the right 
 > direction.  I'm a bit new to python, Qt, and pyQt.)
 > 
 > I have data coming in over a pipe, and a text area where I display it. 
 > I'd like the text area to be updated whenever data comes in over said pipe.
 > 
 > I'm not sure how to do that... Is there a way to register fd's and 
 > call-backs with the exec_loop() or something?
 > If there is documentation that addresses this, please point me to it; I 
 > haven't found anything about this in my google'ing.

You didn't say what operating system you were running. On unix, you
can use QSocketNotifier for this. I don't know about Windows.

-- 

Greg Green





More information about the PyQt mailing list