Hi,
Is there a way to retrieve the tabWidget with which a widget has been
added (or inserted) to a TabPanel from the TabPanel?
i.e. I have:
----
TabPabel = tabPanel = new TabPanel();
...
Widget w = <some widget to be displayed on deck>
Label tabWidget = new Label("...");
...
tabPanel.add(w, tabWidget);
----
And later (in a different method) I want to retrieve the tabWidget,
i.e.
so something like:
----
int tabIndex = ...
Widget tabWidget = tabPabel.getWidgetTab(tabIndex);
----
I know the method getWidgetTab does not exist. I tried using
tabPanel.getTabBar().getTab(tabIndex) but this returns an interface
(Tab) which does not allow be to retrieve the actual tabWidget with
which the tab was created.
Is there a way do this?
thanks,
Rutger van der Eijk
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---