Dear PySide,
The following small program produces:
Invalid callback object.
when the PySide line is uncommented.
but
slot partial ..
when the PyQt4 line is uncommented, as expected.
from PySide import QtCore
#from PyQt4 import QtCore
import functools
def aslot(args=None):
print "slot",args
app = QtCore.QCoreApplication([])
o = QtCore.QObject()
o.connect(o,QtCore.SIGNAL("ASignal"),functools.partial(aslot,"partial .."))
o.emit(QtCore.SIGNAL("ASignal"))
Is this just a missing feature/bug or by design.
Best Wishes,
Stuart McNicholas
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside