Hello
I'm trying to connect a JSignal to a custom javascript code. This JSignal
is emitted with an int value, which I'd like to use, but the custom
javascript function signature must be
function(sender, event).
How can I retrieve the original int parameter?
Concrete example:
I'd like to show a "passive popup" each time an user moves a WSlider, using
the sliderMoved signal, which has the following signature:
JSignal<int>& Wt::WSlider::sliderMoved()
Problem is, when I inspect the "sender" and "event" objects in javascript,
there's no trace of the "int" parameter, which is the current value, so how
could I retrieve it?
Thanks
Marco
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest