RSS

Среда, 06.11.2024, 03:16
Главная » WoW API »

API Функции

[ Добавить запись ]

В разделе материалов: 7079
Показано материалов: 3551-3600
Страницы: « 1 2 ... 70 71 72 73 74 ... 141 142 »

Название Описание
left, bottom, width, height = Cooldown:GetRect() Returns the position and dimensions of the region.
Cooldown:GetPropagateKeyboardInput() Функция еще не задокументированна.
point, relativeTo, relativePoint, xOffset, yOffset = Cooldown:GetPoint(index) Returns information about one of the region's anchor points.
parent = Cooldown:GetParent() Returns the object's parent object.
type = Cooldown:GetObjectType() Returns the object's widget type.
numRegions = Cooldown:GetNumRegions() Returns the number of non-Frame child regions belonging to the frame.
numPoints = Cooldown:GetNumPoints() Returns the number of anchor points defined for the region.
numChildren = Cooldown:GetNumChildren() Returns the number of child frames belonging to the frame.
name = Cooldown:GetName() Returns the widget object's name.
minWidth, minHeight = Cooldown:GetMinResize() Returns the minimum size of the frame for user resizing.
maxWidth, maxHeight = Cooldown:GetMaxResize() Returns the maximum size of the frame for user resizing.
left = Cooldown:GetLeft() Returns the distance from the left edge of the screen to the left edge of the region.
id = Cooldown:GetID() Returns the frame's numeric identifier.
left, right, top, bottom = Cooldown:GetHitRectInsets() Returns the insets from the frame's edges which determine its mouse-interactable area.
height = Cooldown:GetHeight() Returns the height of the region.
strata = Cooldown:GetFrameStrata() Returns the general layering strata of the frame.
level = Cooldown:GetFrameLevel() Sets the level at which the frame is layered relative to others in its strata.
scale = Cooldown:GetEffectiveScale() Returns the overall scale factor of the frame.
depth = Cooldown:GetEffectiveDepth() Returns the overall 3D depth of the frame (for stereoscopic 3D configurations)
alpha = Cooldown:GetEffectiveAlpha() Returns the overall opacity of the frame.
enabled = Cooldown:GetDrawEdge() Returns whether a bright line should be drawn on the moving edge of the cooldown animation.
Cooldown:GetDontSavePosition() Функция еще не задокументированна.
depth = Cooldown:GetDepth() Returns the 3D depth of the frame (for stereoscopic 3D setups)
left, right, top, bottom = Cooldown:GetClampRectInsets() Returns offsets from the frame's edges used when limiting user movement or resizing of the frame.
... = Cooldown:GetChildren() Returns a list of child frames of the frame.
x, y = Cooldown:GetCenter() Returns the screen coordinates of the region's center.
left, bottom, width, height = Cooldown:GetBoundsRect() Returns the position and dimension of the smallest area enclosing the frame and its children.
bottom = Cooldown:GetBottom() Returns the distance from the bottom of the screen to the bottom of the region.
red, green, blue, alpha = Cooldown:GetBackdropColor() Returns the shading color for the frame's background graphic.
red, green, blue, alpha = Cooldown:GetBackdropBorderColor() Returns the shading color for the frame's border graphic.
backdrop = Cooldown:GetBackdrop() Returns information about the frame's backdrop graphic.
value = Cooldown:GetAttribute("name") Returns the value of a secure frame attribute.
... = Cooldown:GetAnimationGroups() Returns a list of animation groups belonging to the region.
alpha = Cooldown:GetAlpha() Returns the opacity of the region relative to its parent.
Cooldown:EnableMouseWheel(enable) Enables or disables mouse wheel interactivity for the frame.
Cooldown:EnableMouse(enable) Enables or disables mouse interactivity for the frame.
Cooldown:EnableKeyboard(enable) Enables or disables keyboard interactivity for the frame.
Cooldown:EnableJoystick(enable) Enables or disables joystick interactivity.
Cooldown:EnableDrawLayer("layer") Allows display of all child objects of the frame on a specified graphics layer.
Cooldown:DisableDrawLayer("layer") Prevents display of all child objects of the frame on a specified graphics layer.
region = Cooldown:CreateTitleRegion() Creates a title region for dragging the frame.
texture = Cooldown:CreateTexture(["name" [, "layer" [, "inherits" [, sublevel]]]]) Creates a new [[docs/widgets/Texture`Texture`]] as a child of the frame.
fontstring = Cooldown:CreateFontString(["name" [, "layer" [, "inherits"]]]) Creates a new [[docs/widgets/FontString`FontString`]] as a child of the frame.
animationGroup = Cooldown:CreateAnimationGroup(["name" [, "inheritsFrom"]]) Creates a new AnimationGroup as a child of the region.
Cooldown:ClearAllPoints() Removes all anchor points from the region.
canChange = Cooldown:CanChangeProtectedState() Returns whether protected properties of the region can be changed by non-secure scripts.
enabled = Cooldown:CanChangeAttribute() Returns whether secure frame attributes can currently be changed.
Cooldown:AllowAttributeChanges() Temporarily allows insecure code to modify the frame's attributes during combat.
ControlPoint:SetParent([path [, order]]) or ControlPoint:SetParent(["path" [, order]]) Sets a new path animation parent for a control point.
ControlPoint:SetOrder(order) Sets the order of the control point in a path animation.