API GameTooltip SetTalent

Shows the tooltip for the specified talent.
 GameTooltip:SetTalent(talentIndex [, isInspect, talentGroup, inspectedUnit, classId])
== Arguments ==
; talentIndex : - Index of the talent to display the tooltip of, ascending from 1.
; isInspect : - If true, respect the classId argument; otherwise, display the player's talentIndex talent.
; talentGroup : - Ignored; supply nil.
; inspectedUnit : - Ignored (UnitId); supply nil.
; classId : - ClassId the talentIndex belongs to.
== Examples ==
Display the player's first talent:
GameTooltip_SetDefaultAnchor(GameTooltip, UIParent)
GameTooltip:SetTalent(1)
GameTooltip:Show()
Display the first Monk talent (using classId 10):
GameTooltip_SetDefaultAnchor(GameTooltip, UIParent)
GameTooltip:SetTalent(1, true, nil, nil, 10)
GameTooltip:Show()
== Patch history ==
*