Hi, I have some small question related to events..but other way around: How can we fire a native(browser) event in gwt 2.xx ?! On 1.6 there was a method.Document.fireXXXEvent but not in the newer relies.
tnx! On Tue, Jul 20, 2010 at 12:23 AM, Thomas Broyer <[email protected]> wrote: > > > On 19 juil, 23:15, jay <[email protected]> wrote: > > Where do you see the automatic removal of handlers? There's nothing > > when a widget is unloaded, and I can't find anything that would do any > > cleanup. Maybe there's some code somewhere to do cleanup as the app > > is shutting down? > > onDetach calls setEventListener(getElement(), null) which is enough to > mitigate memory leaks: > http://code.google.com/p/google-web-toolkit/wiki/DomEventsAndMemoryLeaks > And on "window.onunload", all RootPanels and wrap()ed widgets are > detached, so their onDetach method is called (which recursively detach > their children). > > -- > 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.
