Hi,
I have this empty tabContainer with one tab page. There are some buttons on this tabpage that allows the user to add a new tab page. I’m using the following code to do this:
tabs = self.parent.parent.parent.getChild("TabContainer").props.tabs
tabs.append("New Tab " + str(len(tabs)) )
self.parent.parent.parent.getChild("TabContainer").props.tabs = tabs
self.parent.parent.parent.getChild("TabContainer").props.currentTabIndex = len(tabs) - 1
This all works fine, but now I would like to add some content to this new TAB. I would like to add an embedded view that is 100% sized to the tabpage. What is the best way to do this?
Is it possible to create dynamically an Embedded view and change the tabindex of this component?
Thank you,
Thijs