[PyQt] python signals and javascript

Giovanni Bajo rasky at develer.com
Fri May 15 16:12:17 BST 2009


On 5/15/2009 4:31 PM, Riccardo Vianello wrote:
> Hello,
> 
> I was playing a bit with the QtWebKit module and I would have a quick
> question. Is it possible to use python signals from javascript (as it
> happens with C++ signals)?

You need to make the metaobject aware of the Python signals for the 
introspection to work (the javascript layer uses the introspection to 
find out which signals are available).

See:
http://www.riverbankcomputing.co.uk/software/pyqt/roadmap/index.html#pythonic-connections

which I think is already implemented in latest snapshots.
-- 
Giovanni Bajo
Develer S.r.l.
http://www.develer.com


More information about the PyQt mailing list