Well, that should work just fine. Do you have an example that is not
working? The following works for me, with PySide 1.0.6.
Ben
from PySide.QtCore import *
def p(l, s):
print l
print s
class s(QObject):
sig = Signal(list,str)
a = s()
a.sig.connect(p)
a.sig.emit([1,2,3],'string')
On Thu, Sep 22, 2011 at 5:06 PM, Ravi ..........! <[email protected]>wrote:
> Hi,
> How to emit a custom signal which has 'list' as argument?
>
> text_changed=QtCore.Signal(list,str)
>
> _______________________________________________
> PySide mailing list
> [email protected]
> http://lists.pyside.org/listinfo/pyside
>
>
_______________________________________________
PySide mailing list
[email protected]
http://lists.pyside.org/listinfo/pyside