On Wed, 2011-06-01 at 19:22 +1000, Kim Adil wrote:

> I have a pygtk app working well, now I want to feed it data using
> xmlrpc. Is there any guidance available how to use both technologies
> together? I think the gtk main loop runs waiting for user input, and
> the python SimpleXMLRPCServer has it's own loop, but how to get them
> to cooperate. Any assistance would be appreciated.

Is your app a consumer or a provider?  SimpleXMLRPCServer is for
providers [exposing an API, not consuming (calling out to) an API].

I really recommend using a thread to handle RPC.


_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to