RSS

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

API Функции

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

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

Название Описание
Minimap:SetAttribute("name", value) Sets a secure frame attribute.
Minimap:SetAlpha(alpha) Sets the opacity of the region relative to its parent.
Minimap:SetAllPoints([region]) or Minimap:SetAllPoints(["name"]) Sets all anchor points of the region to match those of another region.
Minimap:RegisterForDrag(...) Registers the frame for dragging.
Minimap:RegisterEvent("event") Registers the frame for an [[docs/eventsevent]]
Minimap:RegisterAllEvents() Registers the frame for all events.
Minimap:Raise() Increases the frame's frame level above all other frames in its strata.
Minimap:PingLocation(x, y) "Pings" the minimap at a given location.
Minimap:Lower() Reduces the frame's frame level below all other frames in its strata.
visible = Minimap:IsVisible() Returns whether the region is visible.
enabled = Minimap:IsUserPlaced() Returns whether the frame is flagged for automatic saving and restoration of position and dimensions.
enabled = Minimap:IsToplevel() Returns whether the frame is automatically raised to the front when clicked.
shown = Minimap:IsShown() Returns whether the region is shown.
enabled = Minimap:IsResizable() Returns whether the frame can be resized by the user.
isProtected, explicit = Minimap:IsProtected() Returns whether the region is protected.
isType = Minimap:IsObjectType("type") Returns whether the object belongs to a given widget type.
movable = Minimap:IsMovable() Returns whether the frame can be moved by the user.
enabled = Minimap:IsMouseWheelEnabled() Returns whether mouse wheel interactivity is enabled for the frame.
isOver = Minimap:IsMouseOver([topOffset [, leftOffset [, bottomOffset [, rightOffset]]]]) Returns whether the mouse cursor is over the given region.
enabled = Minimap:IsMouseEnabled() Returns whether mouse interactivity is enabled for the frame.
enabled = Minimap:IsKeyboardEnabled() Returns whether keyboard interactivity is enabled for the frame.
enabled = Minimap:IsJoystickEnabled() Returns whether joystick interactivity is enabled for the frame.
enabled = Minimap:IsIgnoringDepth() Returns whether the frame's depth property is ignored (for stereoscopic 3D setups)
registered = Minimap:IsEventRegistered("event") Returns whether the frame is registered for a given [[docs/eventsevent]]
isDragging = Minimap:IsDragging() Returns whether the region is currently being dragged.
enabled = Minimap:IsClampedToScreen() Returns whether the frame's boundaries are limited to those of the screen.
Minimap:IgnoreDepth(enable) Sets whether the frame's depth property is ignored (for stereoscopic 3D setups)
Minimap:HookScript("scriptType", handler) Securely hooks a script handler.
Minimap:Hide() Hides the region.
hasScript = Minimap:HasScript("scriptType") Returns whether the widget supports a script handler.
zoomLevels = Minimap:GetZoomLevels() Returns the number of available zoom settings for the minimap.
zoomLevel = Minimap:GetZoom() Returns the minimap's current zoom level.
width = Minimap:GetWidth() Returns the width of the region.
top = Minimap:GetTop() Returns the distance from the bottom of the screen to the top of the region.
region = Minimap:GetTitleRegion() Returns the frame's TitleRegion object.
width, height = Minimap:GetSize() Returns the width and height of the region.
handler = Minimap:GetScript("scriptType") Returns the widget's handler function for a script.
scale = Minimap:GetScale() Returns the frame's scale factor.
right = Minimap:GetRight() Returns the distance from the left edge of the screen to the right edge of the region.
... = Minimap:GetRegions() Returns a list of non-Frame child regions belonging to the frame.
left, bottom, width, height = Minimap:GetRect() Returns the position and dimensions of the region.
Minimap:GetPropagateKeyboardInput() Функция еще не задокументированна.
point, relativeTo, relativePoint, xOffset, yOffset = Minimap:GetPoint(index) Returns information about one of the region's anchor points.
x, y = Minimap:GetPingPosition() Returns the location of the last "ping" on the minimap.
parent = Minimap:GetParent() Returns the object's parent object.
type = Minimap:GetObjectType() Returns the object's widget type.
numRegions = Minimap:GetNumRegions() Returns the number of non-Frame child regions belonging to the frame.
numPoints = Minimap:GetNumPoints() Returns the number of anchor points defined for the region.
numChildren = Minimap:GetNumChildren() Returns the number of child frames belonging to the frame.
name = Minimap:GetName() Returns the widget object's name.