API ToggleDropDownMenu

Toggles a dropdown menu. ToggleDropDownMenu(level, value, dropDownFrame, anchorName, xOffset, yOffset, menuList, button, autoHideDelay)

Arguments

 * 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.

Example
ToggleDropDownMenu(1, nil, PlayerFrameDropDown, "PlayerFrame", 106, 27)