WoW:API ToggleDropDownMenu: Difference between revisions
Jump to navigation
Jump to search
({{framexmlfunc|FrameXML/UIDropDownMenu.lua}} __NOTOC__) |
m (catfix, Replaced: {{framexml → <br>{{framexml) |
||
Line 1: | Line 1: | ||
{{framexmlfunc|FrameXML/UIDropDownMenu.lua}} __NOTOC__ | <br>{{framexmlfunc|FrameXML/UIDropDownMenu.lua}} __NOTOC__ | ||
Revision as of 00:41, 15 July 2008
← WoW API < ToggleDropDownMenu
- This function is implemented in Lua here FrameXML/UIDropDownMenu.lua.
ToggleDropDownMenu(level, value, dropDownFrame, anchorName, xOffset, yOffset)
Toggles a dropdown menu.
Parameters
Arguments
- level
- Number - Nesting level of this dropdown.
- value
- Object - Value of the dropdown item (if level > 1).
- dropDownFrame
- Object - The frame to toggle (not its name!). This object should be derived from UIDropDownMenuTemplate.
- anchorName
- String - Sets the relativeTo member of this frame.
- xOffset
- Number - Sets the x offset.
- yOffset
- Number - Sets the y offset.
Returns
- nil
Example
ToggleDropDownMenu(1, nil, PlayerFrameDropDown, "PlayerFrame", 106, 27)