no need to use handlers there
you can use the below code
MenuItem mntmNewItem = new MenuItem("Vivek", false, new Command() {
public void execute() {
Window.alert("Hi Vivek");
}
});
menuBar.addItem(mntmNewItem);
Hope this code will satisfy your need
On Thu, Jul 5, 2012 at 6:41 PM, Assiya EL <missweb.7h@gmail.com> wrote:
--hi all,i have a problem with MenuBar or MenuItem , addClickHandler(new ClickHandler()
i can't add a event in my MenuItem or MenuBar ???any idea PLZ--Assiya ELMaster Qualité du LogicielPlz consider environment - Only print this if necessary
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
--
Regards
Vivek Ghavle
8885630971
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment