WoW:API ToggleFriendsFrame: Difference between revisions
Jump to navigation
Jump to search
ToggleFriendsFrame -Documentation by AlexanderYoshi, updated by Suru-
mNo edit summary |
No edit summary |
||
Line 32: | Line 32: | ||
: Opens/closes the friends pane. | : Opens/closes the friends pane. | ||
---- | ---- | ||
{{ | {{WoW API}} | ||
Revision as of 05:53, 4 January 2006
Opens/closes the friends pane.
ToggleFriendsFrame(tabIndex);
- Arguments
- tabIndex 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.
- Description
- Opens/closes the friends pane.