Extends Item


TabView provides a tabbed model view of multiple pages. Each page in the view is automatically sized to fill the view itself.

property Int tab: 0

property Int tabCountread only

The current tab, and total number of tabs.

To change the shown page, set the tab property.

property Item tabItemread only

The current tab item, or null if there isn't a current tab item.

function addTab(Item tab)

function removeTab(Item tab)

Add and remove tabs from the TabView.

You can only remove a tab that was previously added by calling addTab().

function tabForIndex(Int index) → Item

Return the tab item for index.