API GetSpellTabInfo

Returns info for the specified spellbook tab.
 name, texture, offset, numSlots, isGuild, offspecID = GetSpellTabInfo(tabIndex)
==Arguments==
:;tabIndex: - The index of the tab, ascending from 1.
==Returns==
:;name: - The name of the spell line (General, Shadow, Fury, etc.)
:;texture: - The texture path for the spell line's icon
:;offset: - Number of spell book entries before this tab (one less than index of the first spell book item in this tab)
:;numSlots: - The number of spell entries in this tab.
:;isGuild: - true for Guild Perks, false otherwise
:;offspecID: - 0 if the tab contains spells you can cast (general/specialization/trade skill/etc); or specialization ID of the specialization this tab is showing the spells of.
==Details==
* returns the number of class-skill tabs available to your character.
* Due to flyouts, more spellbook item indices may be used by a tab than suggested by the offset/numEntries values.
* Professions are tabs, too: returns tab indices that contain profession spells, beyond the range specified by .
==Example==
==Patch changes==