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 = [email protected]::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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to