Hi Thomas,
-- thank you for the explanation. But I cannot get it to work in my real-life project.
This one works:
private native void startHover ()/*-{var obj = this.@awi.client.vgi.gui.SnapGraphicsWidget::obj;var myhandler = function (e){console.log (e);};obj.hover(myhandler);}-*/;
The only thing I want is to put myhandler in a separate class method.
Could you please repeat your solution in this context?
Thanks!
Magnus
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment