WoW:Using UIDropDownMenu: Difference between revisions

m
no edit summary
(4.0.1 API: this -> self)
mNo edit summary
Line 1: Line 1:
{{UIHowTo}}
{{wow/uihowto}}
'''UIDropDownMenu''' is a [[FrameXML]] Frame template that can be used to create contextual menus and dropdown boxes in World of Warcraft. This tutorial explains how to use it in your addon.
'''UIDropDownMenu''' is a [[FrameXML]] Frame template that can be used to create contextual menus and dropdown boxes in World of Warcraft. This tutorial explains how to use it in your addon.


Line 32: Line 32:


* The standard drop down menu.
* The standard drop down menu.
:[[Image:WoWiki Example UIDropDownMenu NoMenu.jpg|The standard drop down menu.]]
: [[Image:UIDropDownMenu-Example NoMenu.jpg|The standard drop down menu.]]


* Using the "MENU" keyword.
* Using the "MENU" keyword.
: [[Image:WoWiki Example UIDropDownMenu Menu.jpg|Using the "MENU" keyword.]]
: [[Image:UIDropDownMenu-Example_Menu.jpg|Using the "MENU" keyword.]]


== Step 2 : The Menu ==
== Step 2 : The Menu ==
Line 95: Line 95:
[[API_ToggleDropDownMenu|Click here]] for more information on [[API_ToggleDropDownMenu|ToggleDropDownMenu]].
[[API_ToggleDropDownMenu|Click here]] for more information on [[API_ToggleDropDownMenu|ToggleDropDownMenu]].


[[Category:HOWTOs|Use UIDropDownMenu]]


== HOWTO: nested submenu structures with UIDropDownMenu ==
== HOWTO: nested submenu structures with UIDropDownMenu ==
Line 160: Line 159:
* [[UI Object UIDropDownMenu]]: template documentation.
* [[UI Object UIDropDownMenu]]: template documentation.
* [[API EasyMenu]]: a table-based interface for dropdowns
* [[API EasyMenu]]: a table-based interface for dropdowns
[[Category:HOWTOs|Use UIDropDownMenu]]