is there any method to get Tabbar id list of all tabs?

hi,

i need to get the id list of all currents tabs on tabbar, is there any method to do this?

thx

I solved this problem by keeping a global array of tabIds, filling the array as I create tabs and splitting the array as I remove tabs. I haven’t seen anything about a getAllTabIds() function in the API, nor a way to programmatically remove all tabs at once. clearAll() doesn’t do anything, it seems.

Hi,

there is not a public method to get the id list. However, you may try to get the ids from the _tabs private array.

[code]var tabs = tabbar._tabs;
var ids = [];

for(var id in tabs){
ids.push(id);
}[/code]