RSS

Суббота, 21.12.2024, 19:10
Главная » WoW API » API Функции » Связанные с аддонами »

InterfaceOptionsFrame_OpenToCategory

[ править ]
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,

Также смотрите: Связанные с аддонами , Addon-related functions
Ссылки: http://wowprogramming.com/docs/api/InterfaceOptionsFrame_OpenToCategory