Use getNumShelfTabs when you need to know exactly how many tabs are currently in the button shelf.
Interface
getNumShelfTabs |
None
None
integer
getNumShelfTabs;
// Returns an integer value indicating the number of
// tabs currently on the button shelf.