RSS

Вторник, 05.11.2024, 06:32
Главная » WoW API »

API Функции

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

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

Название Описание
width = LayeredRegion:GetWidth() Returns the width of the region.
top = LayeredRegion:GetTop() Returns the distance from the bottom of the screen to the top of the region.
width, height = LayeredRegion:GetSize() Returns the width and height of the region.
right = LayeredRegion:GetRight() Returns the distance from the left edge of the screen to the right edge of the region.
left, bottom, width, height = LayeredRegion:GetRect() Returns the position and dimensions of the region.
point, relativeTo, relativePoint, xOffset, yOffset = LayeredRegion:GetPoint(index) Returns information about one of the region's anchor points.
parent = LayeredRegion:GetParent() Returns the object's parent object.
type = LayeredRegion:GetObjectType() Returns the object's widget type.
numPoints = LayeredRegion:GetNumPoints() Returns the number of anchor points defined for the region.
name = LayeredRegion:GetName() Returns the widget object's name.
left = LayeredRegion:GetLeft() Returns the distance from the left edge of the screen to the left edge of the region.
height = LayeredRegion:GetHeight() Returns the height of the region.
layer, sublayer = LayeredRegion:GetDrawLayer() Returns the layer at which the region's graphics are drawn relative to others in its frame.
x, y = LayeredRegion:GetCenter() Returns the screen coordinates of the region's center.
bottom = LayeredRegion:GetBottom() Returns the distance from the bottom of the screen to the bottom of the region.
... = LayeredRegion:GetAnimationGroups() Returns a list of animation groups belonging to the region.
alpha = LayeredRegion:GetAlpha() Returns the opacity of the region relative to its parent.
animationGroup = LayeredRegion:CreateAnimationGroup(["name" [, "inheritsFrom"]]) Creates a new AnimationGroup as a child of the region.
LayeredRegion:ClearAllPoints() Removes all anchor points from the region.
canChange = LayeredRegion:CanChangeProtectedState() Returns whether protected properties of the region can be changed by non-secure scripts.
GameTooltip:UnregisterEvent("event") Unregisters the frame for an event.
GameTooltip:UnregisterAllEvents() Unregisters the frame from any [[docs/eventsevents]] for which it is registered.
GameTooltip:StopMovingOrSizing() Ends movement or resizing of the frame initiated with [[docs/widgets/Frame/StartMoving`:StartMoving()`]] or [[docs/widgets/Frame/StartSizing`:StartSizing()`]]
GameTooltip:StopAnimating() Stops any active animations involving the region or its children.
GameTooltip:StartSizing() Begins resizing the frame via mouse movement.
GameTooltip:StartMoving() Begins repositioning the frame via mouse movement.
GameTooltip:Show() Shows the region.
GameTooltip:SetWidth(width) Sets the region's width.
GameTooltip:SetUserPlaced(enable) Flags the frame for automatic saving and restoration of position and dimensions.
GameTooltip:SetUnitDebuff("unit", index [, "filter"]) Fills the tooltip with information about a debuff on a unit.
GameTooltip:SetUnitBuff("unit", index [, "filter"]) Fills the tooltip with information about a buff on a unit.
GameTooltip:SetUnitAura("unit", index [, "filter"]) Fills the tooltip with information about a buff or debuff on a unit.
GameTooltip:SetUnit("unit") Fills the tooltip with information about a unit.
GameTooltip:SetTrainerService(index) Fills the tooltip with information about a trainer service.
GameTooltip:SetTradeTargetItem(index) Fills the tooltip with information about an item offered for trade by the target.
GameTooltip:SetTradeSkillItem(skillIndex [, reagentIndex]) Fills the tooltip with information about an item created by a trade skill recipe or a reagent in the recipe.
GameTooltip:SetTradePlayerItem(index) Fills the tooltip with information about an item offered for trade by the player.
GameTooltip:SetTotem(slot) Fills the tooltip with information about one of the player's active totems.
GameTooltip:SetToplevel(enable) Sets whether the frame should automatically come to the front when clicked.
GameTooltip:SetText("text" [, r [, g [, b [, a]]]]) Sets the tooltip's text.
GameTooltip:SetTalent(tabIndex, talentIndex, inspect, pet, talentGroup) Fills the tooltip with information about a talent.
GameTooltip:SetSpellByID(id) Fills the tooltip with information about a spell specified by ID.
GameTooltip:SetSpellBookItem() Функция еще не задокументированна.
GameTooltip:SetSocketedItem() Fills the tooltip with information about the item currently being socketed.
GameTooltip:SetSocketGem(index) Fills the tooltip with information about a gem added to a socket.
GameTooltip:SetSize(width, height) Sets the size of the region to the specified values.
GameTooltip:SetShapeshift(index) Fills the tooltip with information about an ability on the stance/shapeshift bar.
GameTooltip:SetSendMailItem(slot) Fills the tooltip with information about an item attached to the outgoing mail message.
GameTooltip:SetScript("scriptType", handler) Sets the widget's handler function for a script.
GameTooltip:SetScale(scale) Sets the frame's scale factor.