RSS

Понедельник, 04.11.2024, 21:01
Главная » WoW API »

API Функции

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

В разделе материалов: 7079
Показано материалов: 2651-2700
Страницы: « 1 2 ... 52 53 54 55 56 ... 141 142 »

Название Описание
scale = MessageFrame:GetEffectiveScale() Returns the overall scale factor of the frame.
depth = MessageFrame:GetEffectiveDepth() Returns the overall 3D depth of the frame (for stereoscopic 3D configurations)
alpha = MessageFrame:GetEffectiveAlpha() Returns the overall opacity of the frame.
MessageFrame:GetDontSavePosition() Функция еще не задокументированна.
depth = MessageFrame:GetDepth() Returns the 3D depth of the frame (for stereoscopic 3D setups)
left, right, top, bottom = MessageFrame:GetClampRectInsets() Returns offsets from the frame's edges used when limiting user movement or resizing of the frame.
... = MessageFrame:GetChildren() Returns a list of child frames of the frame.
x, y = MessageFrame:GetCenter() Returns the screen coordinates of the region's center.
left, bottom, width, height = MessageFrame:GetBoundsRect() Returns the position and dimension of the smallest area enclosing the frame and its children.
bottom = MessageFrame:GetBottom() Returns the distance from the bottom of the screen to the bottom of the region.
red, green, blue, alpha = MessageFrame:GetBackdropColor() Returns the shading color for the frame's background graphic.
red, green, blue, alpha = MessageFrame:GetBackdropBorderColor() Returns the shading color for the frame's border graphic.
backdrop = MessageFrame:GetBackdrop() Returns information about the frame's backdrop graphic.
value = MessageFrame:GetAttribute("name") Returns the value of a secure frame attribute.
... = MessageFrame:GetAnimationGroups() Returns a list of animation groups belonging to the region.
alpha = MessageFrame:GetAlpha() Returns the opacity of the region relative to its parent.
MessageFrame:EnableMouseWheel(enable) Enables or disables mouse wheel interactivity for the frame.
MessageFrame:EnableMouse(enable) Enables or disables mouse interactivity for the frame.
MessageFrame:EnableKeyboard(enable) Enables or disables keyboard interactivity for the frame.
MessageFrame:EnableJoystick(enable) Enables or disables joystick interactivity.
MessageFrame:EnableDrawLayer("layer") Allows display of all child objects of the frame on a specified graphics layer.
MessageFrame:DisableDrawLayer("layer") Prevents display of all child objects of the frame on a specified graphics layer.
region = MessageFrame:CreateTitleRegion() Creates a title region for dragging the frame.
texture = MessageFrame:CreateTexture(["name" [, "layer" [, "inherits" [, sublevel]]]]) Creates a new [[docs/widgets/Texture`Texture`]] as a child of the frame.
fontstring = MessageFrame:CreateFontString(["name" [, "layer" [, "inherits"]]]) Creates a new [[docs/widgets/FontString`FontString`]] as a child of the frame.
animationGroup = MessageFrame:CreateAnimationGroup(["name" [, "inheritsFrom"]]) Creates a new AnimationGroup as a child of the region.
MessageFrame:ClearAllPoints() Removes all anchor points from the region.
MessageFrame:Clear() Removes all messages displayed in the frame.
canChange = MessageFrame:CanChangeProtectedState() Returns whether protected properties of the region can be changed by non-secure scripts.
enabled = MessageFrame:CanChangeAttribute() Returns whether secure frame attributes can currently be changed.
MessageFrame:AllowAttributeChanges() Temporarily allows insecure code to modify the frame's attributes during combat.
MessageFrame:AddMessage("text" [, red [, green [, blue [, alpha]]]]) Adds a message to those listed in the frame.
LayeredRegion:StopAnimating() Stops any active animations involving the region or its children.
LayeredRegion:Show() Shows the region.
LayeredRegion:SetWidth(width) Sets the region's width.
LayeredRegion:SetVertexColor(red, green, blue [, alpha]) Sets a color shading for the region's graphics.
LayeredRegion:SetSize(width, height) Sets the size of the region to the specified values.
LayeredRegion:SetPoint("point" [, relativeTo [, "relativePoint" [, xOffset [, yOffset]]]]) Sets an anchor point for the region.
LayeredRegion:SetParent(frame) or LayeredRegion:SetParent("name") Makes another frame the parent of this region.
LayeredRegion:SetHeight(height) Sets the region's height.
LayeredRegion:SetDrawLayer("layer", sublayer) Sets the layer at which the region's graphics are drawn relative to others in its frame.
LayeredRegion:SetAlpha(alpha) Sets the opacity of the region relative to its parent.
LayeredRegion:SetAllPoints([region]) or LayeredRegion:SetAllPoints(["name"]) Sets all anchor points of the region to match those of another region.
visible = LayeredRegion:IsVisible() Returns whether the region is visible.
shown = LayeredRegion:IsShown() Returns whether the region is shown.
isProtected, explicit = LayeredRegion:IsProtected() Returns whether the region is protected.
isType = LayeredRegion:IsObjectType("type") Returns whether the object belongs to a given widget type.
isOver = LayeredRegion:IsMouseOver([topOffset [, leftOffset [, bottomOffset [, rightOffset]]]]) Returns whether the mouse cursor is over the given region.
isDragging = LayeredRegion:IsDragging() Returns whether the region is currently being dragged.
LayeredRegion:Hide() Hides the region.