v0.13.8

Slider

widget type19 methodsavailable in: camelot

CreateFrame("Slider", …) makes one. It has every method of Frame, plus 19 of its own.

Inherits from

  1. Slider · 19
  2. Frame · 126
  3. Region · 16
  4. ScriptRegion · 55
  5. ScriptRegionResizing · 13
  6. AnimatableObject · 3
  7. Object · 5
  8. FrameScriptObject · 21

The number is each type's own documented methods. A Slider has all of them.

Methods

In the emulator: 19 implemented.

methodwhat it doesstatus
DisableDisables the slider so it no longer responds to the mouse. · by wowlua
()
implemented
EnableEnables the slider so it responds to the mouse. · by wowlua
()
implemented
GetMinMaxValuesReturns the minimum and maximum values of a slider. · warcraft.wiki.gg ↗
(): (number, number)
implemented
GetObeyStepOnDragReturns whether the slider constrains values to value steps when dragged. · warcraft.wiki.gg ↗
(): boolean
implemented
GetOrientationReturns whether the slider is horizontal or vertical. · by wowlua
(): Orientation
implemented
GetStepsPerPageReturns the number of steps the slider's value changes by when the slider is clicked. · warcraft.wiki.gg ↗
(): number
implemented
GetThumbTextureReturns the texture of the slider's thumb. · by wowlua
(): Texture
implemented
GetValueReturns the slider's current value. · by wowlua
(): number
implemented
GetValueStepReturns the slider's current step size. · warcraft.wiki.gg ↗
(): number
implemented
IsDraggingThumbWhether the user is dragging the slider's thumb. · by wowlua
(): boolean
implemented
IsEnabledWhether the slider is enabled. · by wowlua
(): boolean
implemented
SetEnabledEnables or disables the slider, allowing or preventing user interaction. · warcraft.wiki.gg ↗
(enabled: boolean)
implemented
SetMinMaxValuesSets the slider's lowest and highest values. · by wowlua
(minValue: number, maxValue: number)
implemented
SetObeyStepOnDragSets whether the slider constrains values to value steps when dragged. · warcraft.wiki.gg ↗
(obeyStepOnDrag: boolean)
implemented
SetOrientationSets whether the slider is horizontal or vertical. · by wowlua
(orientation: Orientation)
implemented
SetStepsPerPageControls slider behavior when the user clicks within the slider's tracking area. · warcraft.wiki.gg ↗
(stepsPerPage: number)
implemented
SetThumbTextureSets the texture of the slider's thumb. · by wowlua
(asset: TextureAsset)
implemented
SetValueSets the slider's value. · by wowlua
(value: number, treatAsMouseEvent: boolean)
implemented
SetValueStepSets the slider's current step size. · warcraft.wiki.gg ↗
(valueStep: number)
implemented

sources

Methods and inheritance: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.