You can even check - DOM.sinkEvents and DOM.setEventListener. This might be
of some help for you if you plan to convert your javascript code into java
code to be used by GWT ...

-Venkatesh



On Sun, Dec 27, 2009 at 11:57 AM, Prakash <[email protected]>wrote:

> Hi,
>
> If you are trying to implement application wide Short/Hot keys to do
> some action,
> then  you can use
> Event.addNativePreviewEventHandler().
>
> Regards,
> Prakash M.
>
>
> On Dec 26, 4:08 pm, Surya <[email protected]> wrote:
> > Hi.
> >
> > How do I convert the javascript code "window.onkeyup" (or onkeyup in
> > body tag) to GWT?
> >
> > Regards
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


Reply via email to