[PyKDE] (newbie) async stuff

Eli eli.carter at inet.com
Thu Apr 4 21:42:40 BST 2002


Greg Green wrote:
> 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.
> 

Oh, I'm running Linux.  (Sorry, didn't think about that.)  I'll look 
into QSocketNotifier; Thanks!

Eli
--------------------. "If it ain't broke now,
Eli Carter           \                  it will be soon." -- crypto-gram
eli.carter(a)inet.com `-------------------------------------------------





More information about the PyQt mailing list