v0.13.8

ScriptRegion

object type55 methodsavailable in: camelot

It has every method of Object, plus 55 of its own.

Inherits from

  1. ScriptRegion · 55
  2. Object · 5
  3. FrameScriptObject · 21

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

Methods

In the emulator: 38 implemented, 5 recorded, 12 guessed.

methodwhat it doesstatus
CanChangeProtectedStateReturns true if protected properties of the region can be changed by non-secure scripts. · warcraft.wiki.gg ↗
(): boolean
recorded
CanPropagateMouseClicksWhether mouse clicks on the region pass on to the frames under it. · by wowlua
(): boolean
guessed
CanPropagateMouseMotionWhether mouse movement over the region passes on to the frames under it. · by wowlua
(): boolean
guessed
ClearScriptsRemove all script handlers set through Scripts in XML or SetScript in Lua · warcraft.wiki.gg ↗
()
implemented
CollapsesLayoutWhether the region takes up no space in its parent's layout while hidden. · by wowlua
(): boolean
guessed
EnableMouseSets whether the region should receive mouse input. · warcraft.wiki.gg ↗
(enable: boolean)
implemented
EnableMouseMotionSets whether the region should receive mouse hover events. · warcraft.wiki.gg ↗
(enable: boolean)
implemented
EnableMouseWheelSets whether the region should receive mouse wheel input. · warcraft.wiki.gg ↗
(enable: boolean)
implemented
FocusEnterRuns the region's mouse enter behaviour as if the cursor entered it. It is protected; Blizzard's gamepad navigation uses it. · by wowlua
(fromMouseMotion: boolean)
guessed
FocusExitRuns the region's mouse leave behaviour as if the cursor left it. It is protected; Blizzard's gamepad navigation uses it. · by wowlua
(fromMouseMotion: boolean)
guessed
GetBottomReturns the distance of the region's bottom edge from the bottom of the screen. · by wowlua
(): number?
implemented
GetCenterReturns the screen coordinates of the region's center. · by wowlua
(): (number?, number?)
implemented
GetHeightReturns the region's height. · by wowlua
(ignoreRect: boolean): number
implemented
GetLeftReturns the offset of the named part of the region from the bottom left of the screen (game window), the offset is in the effective scale of the region. · warcraft.wiki.gg ↗
(): number?
implemented
GetRectReturns the coords and size of the region. · warcraft.wiki.gg ↗
(): (number?, number?, number?, number?)
implemented
GetRightReturns the distance of the region's right edge from the left of the screen. · by wowlua
(): number?
implemented
GetRoundLayoutToNearestPixelReturns whether the region's layout is rounded to the nearest pixel. · by wowlua
(): boolean
guessed
GetScaledRectReturns the region's left, bottom, width and height in screen coordinates, with its effective scale applied. · by wowlua
(): (number?, number?, number?, number?)
guessed
GetScriptReturns the widget script handler. · warcraft.wiki.gg ↗
(scriptTypeName: ScriptTypeName, bindingType: ScriptBindingType): LuaFunctionReference
implemented
GetSizeReturns the size of the region. · warcraft.wiki.gg ↗
(ignoreRect: boolean): (number, number)
implemented
GetSourceLocationReturns the script name and line number where the region was created. · warcraft.wiki.gg ↗
(): string
guessed
GetTopReturns the distance of the region's top edge from the bottom of the screen. · by wowlua
(): number?
implemented
GetWidthReturns the region's width. · by wowlua
(ignoreRect: boolean): number
implemented
HasScriptReturns true if the region supports the given script type. · warcraft.wiki.gg ↗
(scriptName: string): boolean
implemented
HideHides the region. · warcraft.wiki.gg ↗
()
implemented
HookScriptSecurely post-hooks a widget script handler. · warcraft.wiki.gg ↗
(scriptTypeName: ScriptTypeName, script: LuaFunctionReference, bindingType: ScriptBindingType): boolean
implemented
IntersectsWhether the region overlaps another region on screen. · by wowlua
(region: ScriptRegion): boolean
guessed
IsAnchoringRestrictedReturns true if the region has cross-region anchoring restrictions applied. · warcraft.wiki.gg ↗
(): boolean
implemented
IsAnchoringSecretWhether the region's position depends on a secret value, so addons cannot read it. · by wowlua
(): boolean
implemented
IsCollapsedWhether the region is collapsed and takes up no space in its parent's layout. · by wowlua
(): boolean
implemented
IsDraggingReturns true if the region is being dragged. · warcraft.wiki.gg ↗
(): boolean
implemented
IsMouseClickEnabledReturns true if the region can receive mouse clicks. · warcraft.wiki.gg ↗
(): boolean
recorded
IsMouseEnabledReturns true if the region can receive mouse input. · warcraft.wiki.gg ↗
(): boolean
recorded
IsMouseMotionEnabledReturns true if the region can receive mouse hover events. · warcraft.wiki.gg ↗
(): boolean
recorded
IsMouseMotionFocusReturns true if the mouse cursor is hovering over the region. · warcraft.wiki.gg ↗
(): boolean
implemented
IsMouseOverReturns true if the mouse cursor is hovering over the region. · warcraft.wiki.gg ↗
(offsetTop: number, offsetBottom: number, offsetLeft: number, offsetRight: number): boolean
implemented
IsMouseWheelEnabledReturns true if the region can receive mouse wheel input. · warcraft.wiki.gg ↗
(): boolean
recorded
IsProtectedReturns whether the region is currently protected. · warcraft.wiki.gg ↗
(): (boolean, boolean)
implemented
IsRectValidReturns true if the region can be positioned on the screen. · warcraft.wiki.gg ↗
(): boolean
implemented
IsShownReturns whether the region (and its parents) are shown. · warcraft.wiki.gg ↗
(): boolean
implemented
IsVisibleReturns whether the region is visible. · warcraft.wiki.gg ↗
(): boolean
implemented
MouseDownPresses a mouse button on the region, as if the player did. It is protected; Blizzard's gamepad navigation follows it with MouseUp to click. · by wowlua
(button: string)
guessed
MouseUpReleases a mouse button on the region, as if the player did. It is protected. · by wowlua
(button: string)
guessed
SetCollapsesLayoutSets whether the region takes up no space in its parent's layout while hidden. · by wowlua
(collapsesLayout: boolean)
implemented
SetMouseClickEnabledSets whether the region should receive mouse clicks. · warcraft.wiki.gg ↗
(enabled: boolean)
implemented
SetMouseMotionEnabledSets whether the region should receive mouse hover events. · warcraft.wiki.gg ↗
(enabled: boolean)
implemented
SetParentSets the parent of the region. · warcraft.wiki.gg ↗
(parent: Frame?)
implemented
SetPassThroughButtonsAllows the region to propagate mouse clicks to underlying regions or the world frame. · warcraft.wiki.gg ↗
(buttons: MouseButton)
implemented
SetPropagateMouseClicksControls whether click events will be passed through to the region immediately beneath this one. · warcraft.wiki.gg ↗
(propagate: boolean)
implemented
SetPropagateMouseMotionControls whether motion events will be passed through to the region immediately beneath this one. · warcraft.wiki.gg ↗
(propagate: boolean)
implemented
SetRoundLayoutToNearestPixelSets whether the region's layout is rounded to the nearest pixel. It is protected. · by wowlua
(enabled: boolean)
implemented
SetScriptSets the widget script handler. · warcraft.wiki.gg ↗
(scriptTypeName: ScriptTypeName, script: LuaFunctionReference?)
implemented
SetShownShows or hides the region. · warcraft.wiki.gg ↗
(show: boolean)
implemented
ShouldButtonPassThroughWhether clicks of the given mouse button pass through the region to the frames under it. · by wowlua
(button: MouseButton): boolean
guessed
ShowShows the region. · warcraft.wiki.gg ↗
()
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.