RSS

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

API Функции

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

В разделе материалов: 7079
Показано материалов: 2951-3000
Страницы: « 1 2 ... 58 59 60 61 62 ... 141 142 »

Название Описание
Frame:RegisterForDrag(...) Registers the frame for dragging.
Frame:RegisterEvent("event") Registers the frame for an [[docs/eventsevent]]
Frame:RegisterAllEvents() Registers the frame for all events.
Frame:Raise() Increases the frame's frame level above all other frames in its strata.
Frame:Lower() Reduces the frame's frame level below all other frames in its strata.
visible = Frame:IsVisible() Returns whether the region is visible.
enabled = Frame:IsUserPlaced() Returns whether the frame is flagged for automatic saving and restoration of position and dimensions.
enabled = Frame:IsToplevel() Returns whether the frame is automatically raised to the front when clicked.
shown = Frame:IsShown() Returns whether the region is shown.
enabled = Frame:IsResizable() Returns whether the frame can be resized by the user.
isProtected, explicit = Frame:IsProtected() Returns whether the region is protected.
isType = Frame:IsObjectType("type") Returns whether the object belongs to a given widget type.
movable = Frame:IsMovable() Returns whether the frame can be moved by the user.
enabled = Frame:IsMouseWheelEnabled() Returns whether mouse wheel interactivity is enabled for the frame.
isOver = Frame:IsMouseOver([topOffset [, leftOffset [, bottomOffset [, rightOffset]]]]) Returns whether the mouse cursor is over the given region.
enabled = Frame:IsMouseEnabled() Returns whether mouse interactivity is enabled for the frame.
enabled = Frame:IsKeyboardEnabled() Returns whether keyboard interactivity is enabled for the frame.
enabled = Frame:IsJoystickEnabled() Returns whether joystick interactivity is enabled for the frame.
enabled = Frame:IsIgnoringDepth() Returns whether the frame's depth property is ignored (for stereoscopic 3D setups)
registered = Frame:IsEventRegistered("event") Returns whether the frame is registered for a given [[docs/eventsevent]]
isDragging = Frame:IsDragging() Returns whether the region is currently being dragged.
enabled = Frame:IsClampedToScreen() Returns whether the frame's boundaries are limited to those of the screen.
Frame:IgnoreDepth(enable) Sets whether the frame's depth property is ignored (for stereoscopic 3D setups)
Frame:HookScript("scriptType", handler) Securely hooks a script handler.
Frame:Hide() Hides the region.
hasScript = Frame:HasScript("scriptType") Returns whether the widget supports a script handler.
width = Frame:GetWidth() Returns the width of the region.
top = Frame:GetTop() Returns the distance from the bottom of the screen to the top of the region.
region = Frame:GetTitleRegion() Returns the frame's TitleRegion object.
width, height = Frame:GetSize() Returns the width and height of the region.
handler = Frame:GetScript("scriptType") Returns the widget's handler function for a script.
scale = Frame:GetScale() Returns the frame's scale factor.
right = Frame:GetRight() Returns the distance from the left edge of the screen to the right edge of the region.
... = Frame:GetRegions() Returns a list of non-Frame child regions belonging to the frame.
left, bottom, width, height = Frame:GetRect() Returns the position and dimensions of the region.
Frame:GetPropagateKeyboardInput() Функция еще не задокументированна.
point, relativeTo, relativePoint, xOffset, yOffset = Frame:GetPoint(index) Returns information about one of the region's anchor points.
parent = Frame:GetParent() Returns the object's parent object.
type = Frame:GetObjectType() Returns the object's widget type.
numRegions = Frame:GetNumRegions() Returns the number of non-Frame child regions belonging to the frame.
numPoints = Frame:GetNumPoints() Returns the number of anchor points defined for the region.
numChildren = Frame:GetNumChildren() Returns the number of child frames belonging to the frame.
name = Frame:GetName() Returns the widget object's name.
minWidth, minHeight = Frame:GetMinResize() Returns the minimum size of the frame for user resizing.
maxWidth, maxHeight = Frame:GetMaxResize() Returns the maximum size of the frame for user resizing.
left = Frame:GetLeft() Returns the distance from the left edge of the screen to the left edge of the region.
id = Frame:GetID() Returns the frame's numeric identifier.
left, right, top, bottom = Frame:GetHitRectInsets() Returns the insets from the frame's edges which determine its mouse-interactable area.
height = Frame:GetHeight() Returns the height of the region.
strata = Frame:GetFrameStrata() Returns the general layering strata of the frame.