Hi Geeks
I have created
I want to call 'cancel' button's click handler in a method.
Is it possible ?
I have created
Code:
cancel = new ButtonItem("cancel", "Close"); cancel.addClickHandler(new ClickHandler() { @Override public void onClick(ClickEvent event) { //do something window.destroy(); } });
Is it possible ?
Comment