I tried to use new-style signals on the Ubuntu 0.4.1 pyside build:

from PySide.QtCore import *

sig = Signal()
def foo(): print 2
sig.connect(foo)

AttributeError: 'Signal' object has no attribute 'connect'

I'm confused. From the examples in 
http://www.pyside.org/docs/pyside/newsigslot.html I thought you can call 
connect() on Signal objects. Some previous mail on the mailing list implies 
this should work on this release (and some earlier ones). What am I doing wrong?

Thanks,
Dan
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to