Quantcast
Is possible to open Guild (or communities) Frame to a specific TAB ? - WoWInterface
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 

WoWInterface » Developer Discussions » Lua/XML Help » Is possible to open Guild (or communities) Frame to a specific TAB ?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off