m
Move page script moved page UI Object UIDropDownMenu to WoW:UI Object UIDropDownMenu without leaving a redirect
(CategorySelect - Adding categories) |
m (Move page script moved page UI Object UIDropDownMenu to WoW:UI Object UIDropDownMenu without leaving a redirect) |
||
| (4 intermediate revisions by 4 users not shown) | |||
| Line 27: | Line 27: | ||
:; menuList : Internal - EasyMenu wrapper argument, passed as the third argument to the initialization function. | :; menuList : Internal - EasyMenu wrapper argument, passed as the third argument to the initialization function. | ||
:; button : Internal - Dropdown menu "open" button. | :; button : Internal - Dropdown menu "open" button. | ||
; UIDropDownMenu_EnableDropDown(dropDownFrame) : Enables a dropdown menu that has been disabled. | |||
:; dropDownFrame : Both - dropdown menu frame reference (menu handle). | |||
; UIDropDownMenu_DisableDropDown(dropDownFrame) : Disables a dropdown menu that is currently enabled. | |||
:; dropDownFrame : Both - dropdown menu frame reference (menu handle). | |||
=== Initialization functions === | === Initialization functions === | ||
| Line 43: | Line 47: | ||
|- | |- | ||
| '''text''' || String || Button text for this option. | | '''text''' || String || Button text for this option. | ||
|- | |||
| icon || String || A texture path. The icon is scaled down and displayed to the right of the text. | |||
|- | |- | ||
| value || Any || A value tag for this option. | | value || Any || A value tag for this option. | ||
| Line 109: | Line 115: | ||
== Global variables == | == Global variables == | ||
; UIDROPDOWNMENU_OPEN_MENU : Frame handle of the currently open menu. | ; UIDROPDOWNMENU_OPEN_MENU : Frame handle of the currently open menu. | ||
; UIDROPDOWNMENU_INIT_MENU : Frame handle of the | ; UIDROPDOWNMENU_INIT_MENU : Frame handle of the menu currently initializing. | ||
; UIDROPDOWNMENU_MENU_LEVEL : Current menu nesting level. | ; UIDROPDOWNMENU_MENU_LEVEL : Current menu nesting level. | ||
; UIDROPDOWNMENU_MENU_VALUE : Value of the parent node. | ; UIDROPDOWNMENU_MENU_VALUE : Value of the parent node. | ||