Tabbar iterator

Hi,

I realize that this topic has been touched before, but I cannot find any working solution in any of the scarce samples.

I need to iterate through the tabs currently existing for a tabbar so that I get the IDs of the tabs.

I would also like to be able to remove all existing tabs from a given tabbar.

Any help appreciated, thanks.

Hi

  1. there is no public method, but you can try the next:

var tabs = []; for(var id in tabbar._tabs) tabs.push(id)
Method getAllTabs will be released in new version 3.5 soon.

  1. use method clearAll()