WoW:API EasyMenu: Difference between revisions

very useful note. please don't remove
(→‎Example: single block of code)
(very useful note. please don't remove)
Line 35: Line 35:
  menu_frame:SetPoint("Center", UIParent, "Center")
  menu_frame:SetPoint("Center", UIParent, "Center")
  EasyMenu(menuList, menuFrame, menuFrame, 0 , 0, "MENU");
  EasyMenu(menuList, menuFrame, menuFrame, 0 , 0, "MENU");
<b>Note:</b> You <i>must</i> give the frame a name (argument 2 to CreateFrame()) for menus to work.


== See Also ==  
== See Also ==  
* [[UI Object UIDropDownMenu]]
* [[UI Object UIDropDownMenu]]
* [[Using UIDropDownMenu]]
* [[Using UIDropDownMenu]]
Anonymous user