Thread Tools Display Modes
05-30-23, 10:21 PM   #1
odrik
A Kobold Labourer
Join Date: Feb 2010
Posts: 1
How to bring up the addon list interface?

So I had InterfaceOptionsFrame_OpenToCategory("AddOns") ... it brings up add ons that you can make changes to ... what i want is the window that comes up when you press esc and and click Add Ons ... which brings up AddOnList ... so i tried InterfaceOptionsFrame_OpenToCategory("AddOnList") ... however that still brings up the other window =/
Any ideas?
  Reply With Quote
05-30-23, 10:33 PM   #2
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,877
The function with an addon (name/setting table) passed is primarily to open the addon settings to a particular addon.

You could:
Lua Code:
  1. Settings.OpenToCategory()
  2. SettingsPanel.AddOnsTab:Click()

To open the menu and click the AddOns tab to set focus to it.

InterfaceOptionsFrame_OpenToCategory has been deprecated and replaced by Settings.OpenToCategory.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 05-30-23 at 11:04 PM.
  Reply With Quote
05-31-23, 12:33 AM   #3
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,326
Originally Posted by odrik View Post
what i want is the window that comes up when you press esc and and click Add Ons ... which brings up AddOnList
The frame you're after is simply called AddonList. The game opens it by calling ShowUIPanel(AddonList). Be aware that calling ShowUIPanel() causes protected actions that will be blocked while in combat. You may get around this by calling AddonList:Show() directly, but it bypasses UIParent's window management code, which may cause issues with other managed windows.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 05-31-23 at 12:38 AM.
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » How to bring up the addon list interface?


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