Hi Assiya,
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 <[email protected]> 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 EL
> Master Qualité du Logiciel
>
>
>
> Plz 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 [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.
>
--
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 [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.