RSS

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

API Функции

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

В разделе материалов: 7079
Показано материалов: 2801-2850
Страницы: « 1 2 ... 55 56 57 58 59 ... 141 142 »

Название Описание
GameTooltip:SetClampedToScreen(enable) Sets whether the frame's boundaries should be limited to those of the screen.
GameTooltip:SetClampRectInsets(left, right, top, bottom) Sets offsets from the frame's edges used when limiting user movement or resizing of the frame.
GameTooltip:SetBuybackItem(index) Fills the tooltip with information about item recently sold to a vendor and available to be repurchased.
hasCooldown, repairCost = GameTooltip:SetBagItem(container, slot) Fills the tooltip with information about an item in the player's bags.
GameTooltip:SetBackpackToken(index) Fills the tooltip with information about a currency marked for watching on the Backpack UI.
GameTooltip:SetBackdropColor(red, green, blue [, alpha]) Sets a shading color for the frame's background graphic.
GameTooltip:SetBackdropBorderColor(red, green, blue [, alpha]) Sets a shading color for the frame's border graphic.
GameTooltip:SetBackdrop(backdrop) Sets a backdrop graphic for the frame.
GameTooltip:SetAuctionSellItem() Fills the tooltip with information about the item currently being set up for auction.
GameTooltip:SetAuctionItem("list", index) Fills the tooltip with information about an item in the auction house.
GameTooltip:SetAttribute("name", value) Sets a secure frame attribute.
GameTooltip:SetAnchorType("anchor" [, xOffset [, yOffset]]) Sets the method for anchoring the tooltip relative to its owner.
GameTooltip:SetAlpha(alpha) Sets the opacity of the region relative to its parent.
GameTooltip:SetAllPoints([region]) or GameTooltip:SetAllPoints(["name"]) Sets all anchor points of the region to match those of another region.
GameTooltip:SetAction(slot) Fills the tooltip with information about the contents of an action slot.
GameTooltip:RegisterForDrag(...) Registers the frame for dragging.
GameTooltip:RegisterEvent("event") Registers the frame for an [[docs/eventsevent]]
GameTooltip:RegisterAllEvents() Registers the frame for all events.
GameTooltip:Raise() Increases the frame's frame level above all other frames in its strata.
numLines = GameTooltip:NumLines() Returns the number of lines of text currently shown in the tooltip.
GameTooltip:Lower() Reduces the frame's frame level below all other frames in its strata.
visible = GameTooltip:IsVisible() Returns whether the region is visible.
enabled = GameTooltip:IsUserPlaced() Returns whether the frame is flagged for automatic saving and restoration of position and dimensions.
isUnit = GameTooltip:IsUnit("unit") Returns whether the tooltip is displaying information for a given unit.
enabled = GameTooltip:IsToplevel() Returns whether the frame is automatically raised to the front when clicked.
shown = GameTooltip:IsShown() Returns whether the region is shown.
enabled = GameTooltip:IsResizable() Returns whether the frame can be resized by the user.
isProtected, explicit = GameTooltip:IsProtected() Returns whether the region is protected.
hasOwner = GameTooltip:IsOwned() Returns whether the tooltip has an owner frame.
isType = GameTooltip:IsObjectType("type") Returns whether the object belongs to a given widget type.
movable = GameTooltip:IsMovable() Returns whether the frame can be moved by the user.
enabled = GameTooltip:IsMouseWheelEnabled() Returns whether mouse wheel interactivity is enabled for the frame.
isOver = GameTooltip:IsMouseOver([topOffset [, leftOffset [, bottomOffset [, rightOffset]]]]) Returns whether the mouse cursor is over the given region.
enabled = GameTooltip:IsMouseEnabled() Returns whether mouse interactivity is enabled for the frame.
enabled = GameTooltip:IsKeyboardEnabled() Returns whether keyboard interactivity is enabled for the frame.
enabled = GameTooltip:IsJoystickEnabled() Returns whether joystick interactivity is enabled for the frame.
enabled = GameTooltip:IsIgnoringDepth() Returns whether the frame's depth property is ignored (for stereoscopic 3D setups)
registered = GameTooltip:IsEventRegistered("event") Returns whether the frame is registered for a given [[docs/eventsevent]]
enabled = GameTooltip:IsEquippedItem() Returns whether the tooltip is displaying an item currently equipped by the player.
isDragging = GameTooltip:IsDragging() Returns whether the region is currently being dragged.
enabled = GameTooltip:IsClampedToScreen() Returns whether the frame's boundaries are limited to those of the screen.
GameTooltip:IgnoreDepth(enable) Sets whether the frame's depth property is ignored (for stereoscopic 3D setups)
GameTooltip:HookScript("scriptType", handler) Securely hooks a script handler.
GameTooltip:Hide() Hides the region.
hasScript = GameTooltip:HasScript("scriptType") Returns whether the widget supports a script handler.
width = GameTooltip:GetWidth() Returns the width of the region.
name, unit = GameTooltip:GetUnit() Returns information about the unit displayed in the tooltip.
top = GameTooltip:GetTop() Returns the distance from the bottom of the screen to the top of the region.
region = GameTooltip:GetTitleRegion() Returns the frame's TitleRegion object.
spellName, spellRank, spellID = GameTooltip:GetSpell() Returns information about the spell displayed in the tooltip.