RSS

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

API Функции

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

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

Название Описание
Cooldown:SetHeight(height) Sets the region's height.
Cooldown:SetFrameStrata("strata") Sets the general layering strata of the frame.
Cooldown:SetFrameLevel(level) Sets the level at which the frame is layered relative to others in its strata.
Cooldown:SetDrawEdge(enable) Sets whether a bright line should be drawn on the moving edge of the cooldown animation.
Cooldown:SetDontSavePosition() Функция еще не задокументированна.
Cooldown:SetDepth(depth) Sets the 3D depth of the frame (for stereoscopic 3D configurations)
Cooldown:SetCooldown(start, duration) Sets up the parameters for a Cooldown model.
Cooldown:SetClampedToScreen(enable) Sets whether the frame's boundaries should be limited to those of the screen.
Cooldown:SetClampRectInsets(left, right, top, bottom) Sets offsets from the frame's edges used when limiting user movement or resizing of the frame.
Cooldown:SetBackdropColor(red, green, blue [, alpha]) Sets a shading color for the frame's background graphic.
Cooldown:SetBackdropBorderColor(red, green, blue [, alpha]) Sets a shading color for the frame's border graphic.
Cooldown:SetBackdrop(backdrop) Sets a backdrop graphic for the frame.
Cooldown:SetAttribute("name", value) Sets a secure frame attribute.
Cooldown:SetAlpha(alpha) Sets the opacity of the region relative to its parent.
Cooldown:SetAllPoints([region]) or Cooldown:SetAllPoints(["name"]) Sets all anchor points of the region to match those of another region.
Cooldown:RegisterForDrag(...) Registers the frame for dragging.
Cooldown:RegisterEvent("event") Registers the frame for an [[docs/eventsevent]]
Cooldown:RegisterAllEvents() Registers the frame for all events.
Cooldown:Raise() Increases the frame's frame level above all other frames in its strata.
Cooldown:Lower() Reduces the frame's frame level below all other frames in its strata.
visible = Cooldown:IsVisible() Returns whether the region is visible.
enabled = Cooldown:IsUserPlaced() Returns whether the frame is flagged for automatic saving and restoration of position and dimensions.
enabled = Cooldown:IsToplevel() Returns whether the frame is automatically raised to the front when clicked.
shown = Cooldown:IsShown() Returns whether the region is shown.
enabled = Cooldown:IsResizable() Returns whether the frame can be resized by the user.
isProtected, explicit = Cooldown:IsProtected() Returns whether the region is protected.
isType = Cooldown:IsObjectType("type") Returns whether the object belongs to a given widget type.
movable = Cooldown:IsMovable() Returns whether the frame can be moved by the user.
enabled = Cooldown:IsMouseWheelEnabled() Returns whether mouse wheel interactivity is enabled for the frame.
isOver = Cooldown:IsMouseOver([topOffset [, leftOffset [, bottomOffset [, rightOffset]]]]) Returns whether the mouse cursor is over the given region.
enabled = Cooldown:IsMouseEnabled() Returns whether mouse interactivity is enabled for the frame.
enabled = Cooldown:IsKeyboardEnabled() Returns whether keyboard interactivity is enabled for the frame.
enabled = Cooldown:IsJoystickEnabled() Returns whether joystick interactivity is enabled for the frame.
enabled = Cooldown:IsIgnoringDepth() Returns whether the frame's depth property is ignored (for stereoscopic 3D setups)
registered = Cooldown:IsEventRegistered("event") Returns whether the frame is registered for a given [[docs/eventsevent]]
isDragging = Cooldown:IsDragging() Returns whether the region is currently being dragged.
enabled = Cooldown:IsClampedToScreen() Returns whether the frame's boundaries are limited to those of the screen.
Cooldown:IgnoreDepth(enable) Sets whether the frame's depth property is ignored (for stereoscopic 3D setups)
Cooldown:HookScript("scriptType", handler) Securely hooks a script handler.
Cooldown:Hide() Hides the region.
hasScript = Cooldown:HasScript("scriptType") Returns whether the widget supports a script handler.
width = Cooldown:GetWidth() Returns the width of the region.
top = Cooldown:GetTop() Returns the distance from the bottom of the screen to the top of the region.
region = Cooldown:GetTitleRegion() Returns the frame's TitleRegion object.
width, height = Cooldown:GetSize() Returns the width and height of the region.
handler = Cooldown:GetScript("scriptType") Returns the widget's handler function for a script.
scale = Cooldown:GetScale() Returns the frame's scale factor.
right = Cooldown:GetRight() Returns the distance from the left edge of the screen to the right edge of the region.
enabled = Cooldown:GetReverse() Returns whether the bright and dark portions of the cooldown animation should be inverted.
... = Cooldown:GetRegions() Returns a list of non-Frame child regions belonging to the frame.