Macadamian/titanium_mobile — pull request #90 by Harutyun (2012-07-02 12:24:18+00:00)
Title: TIMOB-8837: <Implement UI.TabGroup elements needed for KS

Reviewers: David C, Alex

[Changes]
- Implemented tab and TabGroup modules with properties needed for KS
- implemented title, icon, window properties for tab
- implemented setAtiveTab, open, and addTab functions for tabGroup
- added support for native control as value of property
- fixed ListView regression crash

[Test Cases]

- make sure we can instance tab and tabGroup and above mentioned
functionality is working.
e.g. run code below:

var tabGroup = Titanium.UI.createTabGroup();

var win1 = Titanium.UI.createWindow({
backgroundColor:'#336699'
})

var tab1 = Titanium.UI.createTab({
title: 'TAB1',
window: win1,
});

var win2 = Titanium.UI.createWindow({
})

var tab2 = Titanium.UI.createTab({
title: 'TAB2',
window: win2,
});

tabGroup.addTab(tab1);
tabGroup.addTab(tab2);
tabGroup.setActiveTab(tab1);
tabGroup.open();