[PyKDE] When should PYSIGNAL used ?
Sundance
sundance at ierne.eu.org
Wed Sep 24 18:17:01 BST 2003
I heard Tony Cappellini said:
> I was going through the pyQT tutorials when PYSIGNAL was used for the
> first time in Tutorial 1-7.
> Unfortunately the tutorial does not really explain what PYSIGNAL is
> and when it is needed, and I don't see any references in PyQT Doc for
> PYSIGNAL.
Ah, maybe it was too well hidden in the doc...
It's there:
http://www.riverbankcomputing.co.uk/pyqt/docs/x381.html
The gist of it is, if you're emitting a native Qt signal coded in C++,
you'll be using SIGNAL. If you're emitting a signal you made yourself
in Python, you'll be using PYSIGNAL.
That's it. :)
-- S.
More information about the PyQt
mailing list