XmTabListTabCount — A convenience function that counts the number of tabs
#include <Xm/Xm.h> Cardinal XmTabListTabCount( XmTabList tablist);
XmTabListTabCount counts the number of tabs in the specified tablist. tablist Specifies the tab list.
Returns the number of tabs in tablist.
XmTabList(3). XmTabListTabCount(library call)