On Thu, Oct 16, 2008 at 10:54 AM, Michi_de <[EMAIL PROTECTED]> wrote: > > > I wanted to add a clickListener to the button and then start a method. > Symple as it is in GWT. In Ext GWT i just cant do anything. >
createButton.addListener(new ButtonListenerAdapter(){ public void onClick(Button button, EventObject eventObject){ //do your stuff } }); That's it. n -- ---------------------------------------- I've had a wonderful time but this wasn't it. Groucho Marx --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---