On Mon, 20 Nov 2000, Alexandre Fayolle wrote:

> Hello,
> 
> I need to monitor a server socket from within a pygtk application. glib
> has a g_source_add() function that would suit my needs. Is there some way
> to access this function from pygtk?
> 
> If not, what would you suggest as an alternative. Monitoring the socket in
> another thread can't be done because this won't work on win32 for some
> obscure reason.  I could also add a timeout and poll from the
> socket, but I'd rather not if I can avoid it.

Use the input_add function.  It should do what you want.

James.


_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to