Hi,

I find it very annoying that one can't add event handlers to widgets
*outside* the widget itself. Am I missing something or is there no way
this can be done elegantly?

I'm thinking something like:

panel.addHandler(ResizeEvent.getType(), new ResizeHandler() {
  public void onResize(ResizeEvent event) {
    view.refresh(true);
  }
});

I find myself constantly extending widgets simply to add such
handlers.

Thanks,

Max

--~--~---------~--~----~------------~-------~--~----~
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
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to