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 <[email protected]> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> 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 [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.

Reply via email to