Event.addNativePreviewHandler can be used to capture events like key presses globally.
Cut/Copy/paste are not possible due to security issues (unauthorized grabbing of what may be sensitive data in the user's copy buffer), although some browsers do allow it after asking. Thus GWT doesn't provide it. You can google javascript copy paste for more info.. On May 19, 2:51 am, "P.G.Taboada" <[email protected]> wrote: > Hello, > > I have to globally catch some key events (or at least assign them to > UI elements). There are some postings on this topic but they are quite > a bit old. > > Is there some api providing this functionality? > > What are my options? > > Can I trigger copy and paste from a GWT app? I need an "Edit" menue > with "Copy, Cut and Paste". > > Any help appreciated, > > brgds, > > Papick G. Taboada > > -- > 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 > athttp://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.
