Slider
widget type19 methodsavailable in: camelot
CreateFrame("Slider", …) makes one. It has every method of Frame, plus 19 of its own.
Inherits from
- Slider · 19
- Frame · 126
- Region · 16
- ScriptRegion · 55
- ScriptRegionResizing · 13
- AnimatableObject · 3
- Object · 5
- FrameScriptObject · 21
The number is each type's own documented methods. A Slider has all of them.
Methods
In the emulator: 19 implemented.
| method | what it does | status |
|---|---|---|
Disable | Disables the slider so it no longer responds to the mouse. · by wowlua() | implemented |
Enable | Enables the slider so it responds to the mouse. · by wowlua() | implemented |
GetMinMaxValues | Returns the minimum and maximum values of a slider. · warcraft.wiki.gg ↗(): (number, number) | implemented |
GetObeyStepOnDrag | Returns whether the slider constrains values to value steps when dragged. · warcraft.wiki.gg ↗(): boolean | implemented |
GetOrientation | Returns whether the slider is horizontal or vertical. · by wowlua(): Orientation | implemented |
GetStepsPerPage | Returns the number of steps the slider's value changes by when the slider is clicked. · warcraft.wiki.gg ↗(): number | implemented |
GetThumbTexture | Returns the texture of the slider's thumb. · by wowlua(): Texture | implemented |
GetValue | Returns the slider's current value. · by wowlua(): number | implemented |
GetValueStep | Returns the slider's current step size. · warcraft.wiki.gg ↗(): number | implemented |
IsDraggingThumb | Whether the user is dragging the slider's thumb. · by wowlua(): boolean | implemented |
IsEnabled | Whether the slider is enabled. · by wowlua(): boolean | implemented |
SetEnabled | Enables or disables the slider, allowing or preventing user interaction. · warcraft.wiki.gg ↗(enabled: boolean) | implemented |
SetMinMaxValues | Sets the slider's lowest and highest values. · by wowlua(minValue: number, maxValue: number) | implemented |
SetObeyStepOnDrag | Sets whether the slider constrains values to value steps when dragged. · warcraft.wiki.gg ↗(obeyStepOnDrag: boolean) | implemented |
SetOrientation | Sets whether the slider is horizontal or vertical. · by wowlua(orientation: Orientation) | implemented |
SetStepsPerPage | Controls slider behavior when the user clicks within the slider's tracking area. · warcraft.wiki.gg ↗(stepsPerPage: number) | implemented |
SetThumbTexture | Sets the texture of the slider's thumb. · by wowlua(asset: TextureAsset) | implemented |
SetValue | Sets the slider's value. · by wowlua(value: number, treatAsMouseEvent: boolean) | implemented |
SetValueStep | Sets 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.