What is the proper way of writing a signal argument list for python
types? Will it only work for basic types? What about types defined in
c-extensions (I'm trying gst.Message).<br>
<br>
def on_emit(*arg):<br>
print arg<br>
<br>
SIG = 'bleh(dict)'<br>
app = QApplication([])<br>
QObject.connect(app, SIGNAL(SIG), on_emit)<br>
app.emit(SIGNAL(SIG), {1:1})<br>
app.processEvents()<br>
<br>
patrick@tulkas ~/repos/pk/audio $ python test.py<br>
Traceback (most recent call last):<br>
File "test.py", line 10, in ?<br>
app.emit(SIGNAL(SIG), {1:1})<br>
TypeError: Argument 0 of signal QApplication.bleh(dict) has an invalid type<br>
<br>
Thanks<br clear="all"><br>-- <br>Patrick Kidd Stinson<br><a href="http://pkaudio.sourceforge.net/">http://pkaudio.sourceforge.net/</a><br><a href="http://pksampler.sourceforge.net/">http://pksampler.sourceforge.net/</a>