WoW:API ToggleFriendsFrame: Difference between revisions
Jump to navigation
Jump to search
({{framexmlfunc|FrameXML/FriendsFrame.lua}} __NOTOC__) |
m (catfix, Replaced: {{framexml → <br>{{framexml) |
||
| Line 1: | Line 1: | ||
{{framexmlfunc|FrameXML/FriendsFrame.lua}} __NOTOC__ | <br>{{framexmlfunc|FrameXML/FriendsFrame.lua}} __NOTOC__ | ||
Revision as of 00:41, 15 July 2008
← WoW API < ToggleFriendsFrame
This function is implemented in Lua here 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.