WoW:UI Object UIDropDownMenu: Difference between revisions

See Also
(See Also)
Line 57: Line 57:


The <b>''info''</b> structure is used to determine the attributes of a single menu item. Setting the value of <b>info.value</b> is important as I'll demonstrate next. For now, our MyDropDownMenu is ready to use with two menu items.
The <b>''info''</b> structure is used to determine the attributes of a single menu item. Setting the value of <b>info.value</b> is important as I'll demonstrate next. For now, our MyDropDownMenu is ready to use with two menu items.
See "List of button attributes" in the [[FrameXML]] file ''UIDropDownMenu.lua'' for the full list of available table elements.


----
----
Line 88: Line 90:
:
:
: <b>UIDropDownMenu_ClearAll(MyDropDownMenu)</b> --Resets MyDropDownMenu so it's no longer selecting anything.
: <b>UIDropDownMenu_ClearAll(MyDropDownMenu)</b> --Resets MyDropDownMenu so it's no longer selecting anything.
== See Also ==
*[[HOWTO: Use UIDropDownMenu]]
*[[API EasyMenu]]
Anonymous user