Hi,
....
import com.gwtext.client.widgets.TabPanel;
...

       final TabPanel tabPanel = new TabPanel();

        tabPanel.setClosable(false);
        tabPanel.setResizeTabs(true);
        tabPanel.setMinTabWidth(115);
        tabPanel.setTabWidth(135);
        tabPanel.setEnableTabScroll(true);
        tabPanel.setWidth(535);
        tabPanel.setHeight("100%");
        tabPanel.setActiveTab(0);
        tabPanel.setLayoutOnTabChange(true);
        tabPanel.addListener(new TabPanelListenerAdapter(){
            @Override
            public void onTabChange(TabPanel tabPabel, Panel tab) {
               //TODO
            }
        });


I hope it helps,

Bruno


On Tue, Jan 26, 2010 at 3:26 AM, Dhiren Bhatia <dhir...@gmail.com> wrote:

> Hi folks,
>
> Are there any samples of the TabPanel with the listener implemented?
> It would be very helpful to look at some example code.
>
> Thanks!
>
> --
> 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-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to