I believe you should use the TabPanel.addWidget(panelWidget, tabWidget) method of TabPanel.
On Sat, Feb 14, 2009 at 8:58 AM, GWTFan <[email protected]> wrote: > > > We need closable tab panel. I'm using TabPanel's add(widget, widget) > method to add tabs. I'm using an horizontalpanel as tab heading, with > a text and an icon with clicklistener for closing. > > This Works well. > > However, based on user action on the widget within the tab, I need to > change the tab text. > While adding the tab, I could pass a widget for the tab text with > closable option. But TabBar.setTabText() does not allow widgets. How > do I get the widget in the tabheader and change the text? > > Any suggestions. > > 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] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
