~/forever/addon-api
Addon API
MenuTemplates.CreateTitle(text)MenuTemplates.RecurseSetupFontString(frame)MenuTemplates.SetHierarchyEnabled(frame, enabled)MenuTemplates.SetUtilityButtonAnchor(button, anchor, relativeTo, offsetX, offsetY)MenuTemplates.SetUtilityButtonClickHandler(button, handler)MenuTemplates.SetUtilityButtonLockedEnabledState(button, value)MenuTemplates.SetUtilityButtonTooltipText(button, tooltipText)MenuUtil.CreateButton(text, callback, data)MenuUtil.CreateButtonContextMenu(ownerRegion, ...)MenuUtil.CreateButtonMenu(dropdown, ...)MenuUtil.CreateCheckbox(text, isSelected, setSelected, data)MenuUtil.CreateCheckboxContextMenu(ownerRegion, isSelected, setSelected, ...)MenuUtil.CreateCheckboxMenu(dropdown, isSelected, setSelected, ...)MenuUtil.CreateColorSwatch(text, callback, colorInfo)MenuUtil.CreateContextMenu(ownerRegion, generator, ...)MenuUtil.CreateEnumRadioContextMenu(dropdown, enum, enumTranslator, isSelected, setSelected, orderTbl)MenuUtil.CreateEnumRadioMenu(dropdown, enum, enumTranslator, isSelected, setSelected, orderTbl)MenuUtil.CreateFrame()MenuUtil.CreateHighlightButton(text, data, onEnter)MenuUtil.CreateHighlightRadio(text, isSelected, setSelected, data, onEnter)MenuUtil.CreateRadio(text, isSelected, setSelected, data)MenuUtil.CreateRadioContextMenu(ownerRegion, isSelected, setSelected, ...)MenuUtil.CreateRadioMenu(dropdown, isSelected, setSelected, ...)MenuUtil.CreateRedHighlightButton(text, callback, data)MenuUtil.CreateRootMenuDescription(menuMixin)MenuUtil.CreateSearchEntry(text, callback, data)MenuUtil.CreateTemplate(template)MenuUtil.CreateTitle(text, color)MenuUtil.GetElementText(elementDescription)MenuUtil.GetSelections(elementDescription, condition)MenuUtil.HideTooltipEx(owner, tooltip)MenuUtil.HookTooltipScripts(owner, func)MenuUtil.SetElementText(elementDescription, text)MenuUtil.ShowTooltipEx(owner, tooltip, func, ...)MenuUtil.TraverseMenu(elementDescription, op, condition)MenuUtilPrivate.GetInserters()MenuUtilPrivate.GetUtilities()MenuVariants.CreateCheckbox(text, frame, isSelected, data)MenuVariants.CreateDivider(frame)MenuVariants.CreateFontString(frame)MenuVariants.CreateHighlight(frame)MenuVariants.CreateRadio(text, frame, isSelected, data)MenuVariants.CreateSearchEntry(text, frame, data)MenuVariants.CreateSubmenuArrow(frame)MenuVariants.GetButtonSoundKit()MenuVariants.GetCheckboxCheckSoundKit()MenuVariants.GetCheckboxUncheckSoundKit()MenuVariants.GetDefaultContextMenuMixin()MenuVariants.GetDefaultMenuMixin()MenuVariants.GetDropdownCloseSoundKit()Documented entries come from Blizzard's in-client API documentation, and UI code functions from its Lua files, mirrored per build. C functions that neither mentions aren't included, and UI code functions can be internal.