Xmtablisttabcount a convenience function that counts the number of tabs "xmtablisttabcount"
#include <Xm/Xm.h> Cardinal XmTabListTabCount( XmTabList tablist);
XmTabListTabCount counts the number of tabs in the specified tablist.
Specifies the tab list.
Returns the number of tabs in tablist.