WowAddons

World of Warcraft Forever API · SimpleSliderAPI.md, for your AI

SimpleSliderAPI (widget methods)

19 functions, as Blizzard documents them for Forever 1.60.1 (70959).

Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.

Functions

Disable

self:Disable()

Enable

self:Enable()

GetMinMaxValues

minValue, maxValue = self:GetMinMaxValues()

Returns

minValuenumber
maxValuenumber

GetObeyStepOnDrag

isObeyStepOnDrag = self:GetObeyStepOnDrag()

Returns

isObeyStepOnDragbool

GetOrientation

orientation = self:GetOrientation()

Returns

orientationOrientation

GetStepsPerPage

stepsPerPage = self:GetStepsPerPage()

Returns

stepsPerPagenumber

GetThumbTexture

texture = self:GetThumbTexture()

Returns

textureSimpleTexture

GetValue

value = self:GetValue()

Returns

valuenumber

GetValueStep

valueStep = self:GetValueStep()

Returns

valueStepnumber

IsDraggingThumb

isDraggingThumb = self:IsDraggingThumb()

Returns

isDraggingThumbbool

IsEnabled

enabled = self:IsEnabled()

Returns

enabledbool

SetEnabled

self:SetEnabled(enabled)

Arguments

enabledbool

SetMinMaxValues

self:SetMinMaxValues(minValue, maxValue)

Arguments

minValuenumber
maxValuenumber

SetObeyStepOnDrag

self:SetObeyStepOnDrag(obeyStepOnDrag)

Arguments

obeyStepOnDragbool

SetOrientation

self:SetOrientation(orientation)

Arguments

orientationOrientation

SetStepsPerPage

self:SetStepsPerPage(stepsPerPage)

Arguments

stepsPerPagenumber

SetThumbTexture

self:SetThumbTexture(asset)

Arguments

assetTextureAsset

SetValue

self:SetValue(value, [treatAsMouseEvent])

Arguments

valuenumber
treatAsMouseEventbool default false

SetValueStep

self:SetValueStep(valueStep)

Arguments

valueStepnumber

It takes WowAddons

Free, for Windows, macOS and Linux: it puts the addon in your game in one click and keeps it up to date. Open it once, then press Install again.

WowAddons runs on your computer: open wowaddons.gg there.

Download for Windows