RSS

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

API Функции

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

В разделе материалов: 7079
Показано материалов: 3951-4000
Страницы: « 1 2 ... 78 79 80 81 82 ... 141 142 »

Название Описание
shown = Button:IsShown() Returns whether the region is shown.
enabled = Button:IsResizable() Returns whether the frame can be resized by the user.
isProtected, explicit = Button:IsProtected() Returns whether the region is protected.
isType = Button:IsObjectType("type") Returns whether the object belongs to a given widget type.
movable = Button:IsMovable() Returns whether the frame can be moved by the user.
enabled = Button:IsMouseWheelEnabled() Returns whether mouse wheel interactivity is enabled for the frame.
isOver = Button:IsMouseOver([topOffset [, leftOffset [, bottomOffset [, rightOffset]]]]) Returns whether the mouse cursor is over the given region.
enabled = Button:IsMouseEnabled() Returns whether mouse interactivity is enabled for the frame.
enabled = Button:IsKeyboardEnabled() Returns whether keyboard interactivity is enabled for the frame.
enabled = Button:IsJoystickEnabled() Returns whether joystick interactivity is enabled for the frame.
enabled = Button:IsIgnoringDepth() Returns whether the frame's depth property is ignored (for stereoscopic 3D setups)
registered = Button:IsEventRegistered("event") Returns whether the frame is registered for a given [[docs/eventsevent]]
enabled = Button:IsEnabled() Returns whether user interaction with the button is allowed.
isDragging = Button:IsDragging() Returns whether the region is currently being dragged.
enabled = Button:IsClampedToScreen() Returns whether the frame's boundaries are limited to those of the screen.
Button:IgnoreDepth(enable) Sets whether the frame's depth property is ignored (for stereoscopic 3D setups)
Button:HookScript("scriptType", handler) Securely hooks a script handler.
Button:Hide() Hides the region.
hasScript = Button:HasScript("scriptType") Returns whether the widget supports a script handler.
width = Button:GetWidth() Returns the width of the region.
top = Button:GetTop() Returns the distance from the bottom of the screen to the top of the region.
region = Button:GetTitleRegion() Returns the frame's TitleRegion object.
width = Button:GetTextWidth() Returns the width of the button's text label.
height = Button:GetTextHeight() Returns the height of the button's text label.
text = Button:GetText() Returns the text of the button's label.
width, height = Button:GetSize() Returns the width and height of the region.
handler = Button:GetScript("scriptType") Returns the widget's handler function for a script.
scale = Button:GetScale() Returns the frame's scale factor.
right = Button:GetRight() Returns the distance from the left edge of the screen to the right edge of the region.
... = Button:GetRegions() Returns a list of non-Frame child regions belonging to the frame.
left, bottom, width, height = Button:GetRect() Returns the position and dimensions of the region.
texture = Button:GetPushedTexture() Returns the texture used when the button is pushed.
x, y = Button:GetPushedTextOffset() Returns the offset for moving the button's label text when pushed.
Button:GetPropagateKeyboardInput() Функция еще не задокументированна.
point, relativeTo, relativePoint, xOffset, yOffset = Button:GetPoint(index) Returns information about one of the region's anchor points.
parent = Button:GetParent() Returns the object's parent object.
type = Button:GetObjectType() Returns the object's widget type.
numRegions = Button:GetNumRegions() Returns the number of non-Frame child regions belonging to the frame.
numPoints = Button:GetNumPoints() Returns the number of anchor points defined for the region.
numChildren = Button:GetNumChildren() Returns the number of child frames belonging to the frame.
texture = Button:GetNormalTexture() Returns the texture used for the button's normal state.
font = Button:GetNormalFontObject() Returns the font object used for the button's normal state.
name = Button:GetName() Returns the widget object's name.
isEnabled = Button:GetMotionScriptsWhileDisabled() Determines whether [[docs/scripts/OnEnterOnEnter]]/[[docs/scripts/OnLeaveOnLeave]] scripts will fire while the button is disabled.
minWidth, minHeight = Button:GetMinResize() Returns the minimum size of the frame for user resizing.
maxWidth, maxHeight = Button:GetMaxResize() Returns the maximum size of the frame for user resizing.
left = Button:GetLeft() Returns the distance from the left edge of the screen to the left edge of the region.
id = Button:GetID() Returns the frame's numeric identifier.
left, right, top, bottom = Button:GetHitRectInsets() Returns the insets from the frame's edges which determine its mouse-interactable area.
texture = Button:GetHighlightTexture() Returns the texture used when the button is highlighted.