Re: Suggestions for creating a menu

2009-01-09 Thread Sahil Dave
On Fri, Jan 9, 2009 at 9:12 PM, olivier FRESSE wrote: > menu.addItem(...) returns the created MenuItem instance, ie the one added > in the menu. > > MenuItem aboutUsItem = menu.addItem("About Us", cmd); > > and then > if(menu.getSelectedItem() == aboutUsItem) > should work. > >> i am not able to

Re: Suggestions for creating a menu

2009-01-09 Thread olivier FRESSE
menu.addItem(...) returns the created MenuItem instance, ie the one added in the menu. MenuItem aboutUsItem = menu.addItem("About Us", cmd); and then if(menu.getSelectedItem() == aboutUsItem) should work. 2009/1/9 Sahil Dave > > > On Fri, Jan 9, 2009 at 8:00 PM, olivier FRESSE > wrote: >

Re: Suggestions for creating a menu

2009-01-09 Thread Sahil Dave
On Fri, Jan 9, 2009 at 8:00 PM, olivier FRESSE wrote: > Maybe a menu bar ? > http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/ui/MenuBar.html > :-) > > > yes, i am using the menu bar. i want to create a single command reference and resolve all menu selections in

Re: Suggestions for creating a menu

2009-01-09 Thread olivier FRESSE
Maybe a menu bar ? http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/ui/MenuBar.html :-) 2009/1/9 Sahil Dave > hi.. > > if i want to create a main menu for my web application, what all widgets > can i use to achieve this..? > > thanx and regards > > -- > Sahil

Suggestions for creating a menu

2009-01-09 Thread Sahil Dave
hi.. if i want to create a main menu for my web application, what all widgets can i use to achieve this..? thanx and regards -- Sahil --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To