API ToggleTalentFrame

From Wowpedia
Jump to: navigation, search
"I" iconThis function is implemented by FrameXML in FrameXML/UIParent.lua.

Opens/closes the Talent window.

ToggleTalentFrame()
Warning Warning: Calling this function from a tainted execution path will prevent the player from modifying their talents. You can work around this by running /click TalentMicroButton using a secure action button, or by calling TalentFrame_LoadUI(); ShowUIPanel(PlayerTalentFrame); to open the specialization/talents/glyphs frame without explicitly switching to the talents tab.