[pygtk] Fwd: dbus and main loops
helder fraga
helder.fraga at hotmail.com
Wed Aug 27 20:40:03 WST 2008
Yes , im using it,
After the first signal arrives and the 2nd gtk main starts , no more signals get received , but it i do a control +c on to end the python script i get a new gtk.main with this error on it
File "/var/lib/python-support/python2.5/dbus/connection.py", line 214, in maybe_handle_message
self._handler(*args, **kwargs)
Date: Tue, 26 Aug 2008 23:47:52 -1000
From: casey.mcginty at gmail.com
To: pygtk at daa.com.au
Subject: [pygtk] Fwd: dbus and main loops
2008/8/26 helder fraga <helder.fraga at hotmail.com>
hi.
i have 2 python files , one sends dbus messages to the other (receiver)
The receiver, when it gets the message signal starts a new gtk.main , however this only works once, after the first time it doesnt receive any messages , but the sender still sends them
Is there a way i can make this work properly , allowing me to start new gtk main loops?
Conheça já o Windows Live Spaces, o site de relacionamentos do Messenger! Crie já o seu!
_______________________________________________
pygtk mailing list pygtk at daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Are you using DBusGMainLoop?
http://dbus.freedesktop.org/doc/dbus-python/doc/tutorial.html#making-asynchronous-method-calls
_________________________________________________________________
Confira vídeos com notícias do NY Times, gols direto do Lance, videocassetadas e muito mais no MSN Video!
http://video.msn.com/?mkt=pt-br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20080827/be3621ab/attachment.htm
More information about the pygtk
mailing list