RSS

Понедельник, 04.11.2024, 21:07
Главная » WoW API »

API Функции

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

В разделе материалов: 7079
Показано материалов: 2601-2650
Страницы: « 1 2 ... 51 52 53 54 55 ... 141 142 »

Название Описание
isOver = MessageFrame:IsMouseOver([topOffset [, leftOffset [, bottomOffset [, rightOffset]]]]) Returns whether the mouse cursor is over the given region.
enabled = MessageFrame:IsMouseEnabled() Returns whether mouse interactivity is enabled for the frame.
enabled = MessageFrame:IsKeyboardEnabled() Returns whether keyboard interactivity is enabled for the frame.
enabled = MessageFrame:IsJoystickEnabled() Returns whether joystick interactivity is enabled for the frame.
enabled = MessageFrame:IsIgnoringDepth() Returns whether the frame's depth property is ignored (for stereoscopic 3D setups)
registered = MessageFrame:IsEventRegistered("event") Returns whether the frame is registered for a given [[docs/eventsevent]]
isDragging = MessageFrame:IsDragging() Returns whether the region is currently being dragged.
enabled = MessageFrame:IsClampedToScreen() Returns whether the frame's boundaries are limited to those of the screen.
MessageFrame:IgnoreDepth(enable) Sets whether the frame's depth property is ignored (for stereoscopic 3D setups)
MessageFrame:HookScript("scriptType", handler) Securely hooks a script handler.
MessageFrame:Hide() Hides the region.
hasScript = MessageFrame:HasScript("scriptType") Returns whether the widget supports a script handler.
width = MessageFrame:GetWidth() Returns the width of the region.
top = MessageFrame:GetTop() Returns the distance from the bottom of the screen to the top of the region.
region = MessageFrame:GetTitleRegion() Returns the frame's TitleRegion object.
time = MessageFrame:GetTimeVisible() Returns the amount of time for which a message remains visible before beginning to fade out.
textR, textG, textB, textAlpha = MessageFrame:GetTextColor() Returns the font instance's default text color.
spacing = MessageFrame:GetSpacing() Returns the font instance's amount of spacing between lines.
width, height = MessageFrame:GetSize() Returns the width and height of the region.
xOffset, yOffset = MessageFrame:GetShadowOffset() Returns the offset of the font instance's text shadow from its text.
shadowR, shadowG, shadowB, shadowAlpha = MessageFrame:GetShadowColor() Returns the color of the font's text shadow.
handler = MessageFrame:GetScript("scriptType") Returns the widget's handler function for a script.
scale = MessageFrame:GetScale() Returns the frame's scale factor.
right = MessageFrame:GetRight() Returns the distance from the left edge of the screen to the right edge of the region.
... = MessageFrame:GetRegions() Returns a list of non-Frame child regions belonging to the frame.
left, bottom, width, height = MessageFrame:GetRect() Returns the position and dimensions of the region.
MessageFrame:GetPropagateKeyboardInput() Функция еще не задокументированна.
point, relativeTo, relativePoint, xOffset, yOffset = MessageFrame:GetPoint(index) Returns information about one of the region's anchor points.
parent = MessageFrame:GetParent() Returns the object's parent object.
type = MessageFrame:GetObjectType() Returns the object's widget type.
numRegions = MessageFrame:GetNumRegions() Returns the number of non-Frame child regions belonging to the frame.
numPoints = MessageFrame:GetNumPoints() Returns the number of anchor points defined for the region.
numChildren = MessageFrame:GetNumChildren() Returns the number of child frames belonging to the frame.
name = MessageFrame:GetName() Returns the widget object's name.
minWidth, minHeight = MessageFrame:GetMinResize() Returns the minimum size of the frame for user resizing.
maxWidth, maxHeight = MessageFrame:GetMaxResize() Returns the maximum size of the frame for user resizing.
left = MessageFrame:GetLeft() Returns the distance from the left edge of the screen to the left edge of the region.
justify = MessageFrame:GetJustifyV() Returns the font instance's vertical text alignment style.
justify = MessageFrame:GetJustifyH() Returns the font instance's horizontal text alignment style.
position = MessageFrame:GetInsertMode() Returns the position at which new messages are added to the frame.
indent = MessageFrame:GetIndentedWordWrap() Returns whether long lines of text are indented when wrapping.
id = MessageFrame:GetID() Returns the frame's numeric identifier.
left, right, top, bottom = MessageFrame:GetHitRectInsets() Returns the insets from the frame's edges which determine its mouse-interactable area.
height = MessageFrame:GetHeight() Returns the height of the region.
strata = MessageFrame:GetFrameStrata() Returns the general layering strata of the frame.
level = MessageFrame:GetFrameLevel() Sets the level at which the frame is layered relative to others in its strata.
font = MessageFrame:GetFontObject() Returns the `Font` object from which the font instance's properties are inherited.
filename, fontHeight, flags = MessageFrame:GetFont() Returns the font instance's basic font properties.
fading = MessageFrame:GetFading() Returns whether messages added to the frame automatically fade out after a period of time.
duration = MessageFrame:GetFadeDuration() Returns the duration of the fade-out animation for disappearing messages.