Opens the Interface Options window and displays a given panel within it.
Opens the Interface Options window and displays a given panel within it.
Signature:
Code
InterfaceOptionsFrame_OpenToCategory("panelName") or InterfaceOptionsFrame_OpenToCategory(panel)
Arguments:
panelName - The registered name of an options panel (string)
panel - A Frame object already registered as an options panel (table)
This function is not a C API but a Lua function declared in Blizzard's default user interface. Its implementation can be viewed by extracting the addon data using the Addon Kit provided by Blizzard. This function is defined by the default user interface in Lua. You can find the definition by examining the FrameXML code for the default UI,