Earlier Versions
Name | Size | Uploaded | Game Version | Downloads | |
v1.0.9 release | 15.22 KB | Nov 26, 2022 | 9.0.1 | 16 | Download |
v1.0.8 release | 15.36 KB | Nov 26, 2022 | 9.0.1 | 4 | Download |
v1.0.7 release | 14.46 KB | Sep 7, 2022 | 9.0.1 | 18 | Download |
v1.0.6 release | 14.45 KB | May 22, 2021 | 9.0.1 | 99 | Download |
v1.0.5 release | 14.52 KB | Dec 8, 2020 | 9.0.1 | 124 | Download |
v1.0.2 release | 14.75 KB | Dec 6, 2020 | 9.0.1 | 86 | Download |
v1.0.1 release | 14.51 KB | Nov 28, 2020 | 9.0.1 | 69 | Download |
v1.0.0 release | 14.66 KB | Sep 2, 2020 | 9.0.1 | 106 | Download |
v1.0.7-3-g8dbd974-alpha alpha | 15.02 KB | Nov 26, 2022 | 9.0.1 | 4 | Download |
v1.0.1-1-ge239d12-alpha alpha | 14.64 KB | Dec 6, 2020 | 9.0.1 | 63 | Download |
8a4b1b1-alpha alpha | 14.66 KB | Sep 2, 2020 | 9.0.1 | 111 | Download |
Description
The biggest diference of this library over the others is that it doesn’t create Global functions.
I tried to make it compatible with classic. If you find any bugs, please report. 🙂
The name of the functions should be the same as Blizzards APIs. (EasyMenu included!)
The following ones are added:
- UIDropDownMenu_Create(name, parent, ignoreNameConflict): Use this instead of CreateFrame, by default this function will fail if a frame with the same name exists. If ignoreNameConflict is true, it will create the frame anyway, which might make a new unnamed frame!.
- UIDropDownMenu_GetOrCreate(name, parent): Same as the UIDropDownMenu_Create, but only creates a new frame if it doesn’t already exist.
Example of use:
local EDDM = LibStub(“ElioteDropDownMenu-1.0”)
local myInitFunction = function()
local t = EDDM.UIDropDownMenu_CreateInfo()
t.text = “my button!”
t.notCheckable = true
EDDM.UIDropDownMenu_AddButton(t)
end
local dropdownFrame = EDDM.UIDropDownMenu_GetOrCreate(“MyTtp”)
EDDM.UIDropDownMenu_Initialize(dropdownFrame, myInitFunction, “MENU”)
EDDM.ToggleDropDownMenu(1, nil, dropdownFrame, “cursor”, 3, -3)
Add a comment