RSS

Суббота, 02.11.2024, 23:22
Главная » WoW API »

API Функции

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

В разделе материалов: 7079
Показано материалов: 2501-2550
Страницы: « 1 2 ... 49 50 51 52 53 ... 141 142 »

Название Описание
minWidth, minHeight = Minimap:GetMinResize() Returns the minimum size of the frame for user resizing.
maxWidth, maxHeight = Minimap:GetMaxResize() Returns the maximum size of the frame for user resizing.
left = Minimap:GetLeft() Returns the distance from the left edge of the screen to the left edge of the region.
id = Minimap:GetID() Returns the frame's numeric identifier.
left, right, top, bottom = Minimap:GetHitRectInsets() Returns the insets from the frame's edges which determine its mouse-interactable area.
height = Minimap:GetHeight() Returns the height of the region.
strata = Minimap:GetFrameStrata() Returns the general layering strata of the frame.
level = Minimap:GetFrameLevel() Sets the level at which the frame is layered relative to others in its strata.
scale = Minimap:GetEffectiveScale() Returns the overall scale factor of the frame.
depth = Minimap:GetEffectiveDepth() Returns the overall 3D depth of the frame (for stereoscopic 3D configurations)
alpha = Minimap:GetEffectiveAlpha() Returns the overall opacity of the frame.
Minimap:GetDontSavePosition() Функция еще не задокументированна.
depth = Minimap:GetDepth() Returns the 3D depth of the frame (for stereoscopic 3D setups)
left, right, top, bottom = Minimap:GetClampRectInsets() Returns offsets from the frame's edges used when limiting user movement or resizing of the frame.
... = Minimap:GetChildren() Returns a list of child frames of the frame.
x, y = Minimap:GetCenter() Returns the screen coordinates of the region's center.
left, bottom, width, height = Minimap:GetBoundsRect() Returns the position and dimension of the smallest area enclosing the frame and its children.
bottom = Minimap:GetBottom() Returns the distance from the bottom of the screen to the bottom of the region.
red, green, blue, alpha = Minimap:GetBackdropColor() Returns the shading color for the frame's background graphic.
red, green, blue, alpha = Minimap:GetBackdropBorderColor() Returns the shading color for the frame's border graphic.
backdrop = Minimap:GetBackdrop() Returns information about the frame's backdrop graphic.
value = Minimap:GetAttribute("name") Returns the value of a secure frame attribute.
... = Minimap:GetAnimationGroups() Returns a list of animation groups belonging to the region.
alpha = Minimap:GetAlpha() Returns the opacity of the region relative to its parent.
Minimap:EnableMouseWheel(enable) Enables or disables mouse wheel interactivity for the frame.
Minimap:EnableMouse(enable) Enables or disables mouse interactivity for the frame.
Minimap:EnableKeyboard(enable) Enables or disables keyboard interactivity for the frame.
Minimap:EnableJoystick(enable) Enables or disables joystick interactivity.
Minimap:EnableDrawLayer("layer") Allows display of all child objects of the frame on a specified graphics layer.
Minimap:DisableDrawLayer("layer") Prevents display of all child objects of the frame on a specified graphics layer.
region = Minimap:CreateTitleRegion() Creates a title region for dragging the frame.
texture = Minimap:CreateTexture(["name" [, "layer" [, "inherits" [, sublevel]]]]) Creates a new [[docs/widgets/Texture`Texture`]] as a child of the frame.
fontstring = Minimap:CreateFontString(["name" [, "layer" [, "inherits"]]]) Creates a new [[docs/widgets/FontString`FontString`]] as a child of the frame.
animationGroup = Minimap:CreateAnimationGroup(["name" [, "inheritsFrom"]]) Creates a new AnimationGroup as a child of the region.
Minimap:ClearAllPoints() Removes all anchor points from the region.
canChange = Minimap:CanChangeProtectedState() Returns whether protected properties of the region can be changed by non-secure scripts.
enabled = Minimap:CanChangeAttribute() Returns whether secure frame attributes can currently be changed.
Minimap:AllowAttributeChanges() Temporarily allows insecure code to modify the frame's attributes during combat.
MessageFrame:UnregisterEvent("event") Unregisters the frame for an event.
MessageFrame:UnregisterAllEvents() Unregisters the frame from any [[docs/eventsevents]] for which it is registered.
MessageFrame:StopMovingOrSizing() Ends movement or resizing of the frame initiated with [[docs/widgets/Frame/StartMoving`:StartMoving()`]] or [[docs/widgets/Frame/StartSizing`:StartSizing()`]]
MessageFrame:StopAnimating() Stops any active animations involving the region or its children.
MessageFrame:StartSizing() Begins resizing the frame via mouse movement.
MessageFrame:StartMoving() Begins repositioning the frame via mouse movement.
MessageFrame:Show() Shows the region.
MessageFrame:SetWidth(width) Sets the region's width.
MessageFrame:SetUserPlaced(enable) Flags the frame for automatic saving and restoration of position and dimensions.
MessageFrame:SetToplevel(enable) Sets whether the frame should automatically come to the front when clicked.
MessageFrame:SetTimeVisible(time) Sets the amount of time for which a message remains visible before beginning to fade out.
MessageFrame:SetTextColor(textR, textG, textB, textAlpha) Sets the font instance's default text color.