Lore archive · Warcraft Wiki, 2023 dump
API ToggleDropDownMenu
Last wiki revision 2018-11-26
Toggles a dropdown menu. ToggleDropDownMenu(level, value, dropDownFrame, anchorName, xOffset, yOffset, menuList, button, autoHideDelay)
- level : Number - Nesting level of this dropdown.
- value : Any - Value of the dropdown item (if > 1).
- dropDownFrame : Widget - The frame to toggle (not its name!). This object should be derived from.
- anchorName : String - Sets the member of this frame.
- xOffset : Number - Sets the x offset.
- yOffset : Number - Sets the y offset.
- menuList : Internal - EasyMenu wrapper argument, passed as the third argument to the initialization function.
- button : Internal - Dropdown menu "open" button.
- autoHideDelay : Number - Delay in seconds before inactive menu hides. Default is 2.
ToggleDropDownMenu(1, nil, PlayerFrameDropDown, "PlayerFrame", 106, 27)
- UI Object UIDropDownMenu: template documentation.
- Using UIDropDownMenu
Source
https://warcraft.wiki.gg/wiki/API_ToggleDropDownMenu · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.