Quantcast
WoWInterface - View Single Post - Is possible to open Guild (or communities) Frame to a specific TAB ?
View Single Post
03-18-20, 11:04 AM   #1
gmarco
A Frostmaul Preserver
 
gmarco's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 290
Is possible to open Guild (or communities) Frame to a specific TAB ?

Hi everyone.

I am writing a small addon and I'd like to show the guild frame directly in the "Roster" tab.

The problem is that if I call:

Lua Code:
  1. ToggleGuildFrame()
  2.  
  3. or
  4.  
  5. ToggleCommunitiesFrame()

It opens in the "Chat" tab which I think is the default.
I tried to read the wow interface source and I think it is not possible to pass a param to choose one tab I want to open like:

Lua Code:
  1. ToggleFriendsFrame(3)

for example.

But I am a neewbie and so I ask for a confirmation here
Any idea ? Tips ? Tricks ?

Thanks
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
  Reply With Quote