gui.appendTabContainerItem
Prototype
hTabItem = gui.appendTabContainerItem ( hComponent, sText, hComponent )
Parameters
hComponent -
sText -
hComponent -
Return values
hTabItem - handle to the new tab item
Sample
function onMainViewInit ( hView, hComponent ) --create All category local hTabCategory = gui.getComponent ( "CategoryTab" ) if ( hTabCategory ) then local hItem = gui.instantiate ( "com.shiva.editor.log.lib", "CategoryTemplate", "CategoryTab0" ) if ( hItem ) then gui.appendTabContainerItem ( hTabCategory, "All", hItem ) -- etc.
Available since ShiVa 2.0