Wikia

WoWWiki

API ToggleFriendsFrame

Talk0
98,472pages on
this wiki
Revision as of 00:41, July 15, 2008 by Charibot (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)

Icon-information-22x22This function is implemented by FrameXML in FrameXML/FriendsFrame.lua.


ToggleFriendsFrame(tabIndex)

Opens/closes the friends pane.


Parameters

Arguments

tabIndex 
Number - (optional) picks a specific tab in the friends frame
  • 1 = friends tab
  • 2 = who tab
  • 3 = guild tab
  • 4 = raid tab
  • default = last open tab

Returns

nil

Example

ToggleFriendsFrame(3)

Result

If the friends frame was already open, this closes the frame.
If it was not already open, it is opened at the guild tab.
Advertisement | Your ad here

Photos

Add a Photo
61,987photos on this wiki
See all photos >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki