Ah, ok fair enough apperantly (google search helps a lot :) you should be able to use:
DomEvent.fireEvent(Document.get().createXXXEvent, handlerSource); On Tue, Aug 3, 2010 at 11:52 AM, Blagoja Chavkoski <baze...@gmail.com>wrote: > Hi, > first tnx for the rpl.. > > yes thats ok...also would be ok to fire onNativeEvent in widget > method...but I have more components(widgets) related to that event..and i > dont like to keep instance of all of them and fire the event one by > one...for each... > In gwt 1.6 there ware metods in Document.firexxxnativeEvent...but after 2.0 > there not inside...and i dont no how can be done... > > On Tue, Aug 3, 2010 at 11:45 AM, Rob Coops <rco...@gmail.com> wrote: > >> No idea if it is the right thing to do but you could just call the >> onKeyPressed method of the widget in quesion can't you? >> >> On Tue, Aug 3, 2010 at 11:40 AM, Blaze <baze...@gmail.com> wrote: >> >>> Hi all, >>> >>> I have one question...how can we fire a native event in gwt...?? >>> by native event I think on let me say..keyboard key pressed...etc >>> >>> Tnx, >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Google Web Toolkit" group. >>> To post to this group, send email to google-web-toolkit@googlegroups.com >>> . >>> To unsubscribe from this group, send email to >>> google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com> >>> . >>> 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 google-web-tool...@googlegroups.com. >> To unsubscribe from this group, send email to >> google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com> >> . >> 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 google-web-tool...@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com> > . > 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 google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.