RSS

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

API Функции

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

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

Название Описание
MessageFrame:SetSpacing(spacing) Sets the font instance's amount of spacing between lines.
MessageFrame:SetSize(width, height) Sets the size of the region to the specified values.
MessageFrame:SetShadowOffset(xOffset, yOffset) Sets the offset of the font instance's text shadow from its text.
MessageFrame:SetShadowColor(shadowR, shadowG, shadowB, shadowAlpha) Sets the color of the font's text shadow.
MessageFrame:SetScript("scriptType", handler) Sets the widget's handler function for a script.
MessageFrame:SetScale(scale) Sets the frame's scale factor.
MessageFrame:SetResizable(enable) Sets whether the frame can be resized by the user.
MessageFrame:SetPropagateKeyboardInput() Функция еще не задокументированна.
MessageFrame:SetPoint("point" [, relativeTo [, "relativePoint" [, xOffset [, yOffset]]]]) Sets an anchor point for the region.
MessageFrame:SetParent(frame) or MessageFrame:SetParent("name") Makes another frame the parent of this region.
MessageFrame:SetMovable(enable) Sets whether the frame can be moved by the user.
MessageFrame:SetMinResize(minWidth, minHeight) Sets the minimum size of the frame for user resizing.
MessageFrame:SetMaxResize(maxWidth, maxHeight) Sets the maximum size of the frame for user resizing.
MessageFrame:SetJustifyV("justify") Sets the font instance's vertical text alignment style.
MessageFrame:SetJustifyH("justify") Sets the font instance's horizontal text alignment style.
MessageFrame:SetInsertMode("position") Sets the position at which new messages are added to the frame.
MessageFrame:SetIndentedWordWrap(indent) Sets whether long lines of text are indented when wrapping.
MessageFrame:SetID(id) Sets a numeric identifier for the frame.
MessageFrame:SetHitRectInsets(left, right, top, bottom) Sets the insets from the frame's edges which determine its mouse-interactable area.
MessageFrame:SetHeight(height) Sets the region's height.
MessageFrame:SetFrameStrata("strata") Sets the general layering strata of the frame.
MessageFrame:SetFrameLevel(level) Sets the level at which the frame is layered relative to others in its strata.
MessageFrame:SetFontObject(object) or MessageFrame:SetFontObject("name") Sets the `Font` object from which the font instance's properties are inherited.
isValid = MessageFrame:SetFont("filename", fontHeight, "flags") Sets the font instance's basic font properties.
MessageFrame:SetFading(fading) Sets whether messages added to the frame automatically fade out after a period of time.
MessageFrame:SetFadeDuration(duration) Sets the duration of the fade-out animation for disappearing messages.
MessageFrame:SetDontSavePosition() Функция еще не задокументированна.
MessageFrame:SetDepth(depth) Sets the 3D depth of the frame (for stereoscopic 3D configurations)
MessageFrame:SetClampedToScreen(enable) Sets whether the frame's boundaries should be limited to those of the screen.
MessageFrame:SetClampRectInsets(left, right, top, bottom) Sets offsets from the frame's edges used when limiting user movement or resizing of the frame.
MessageFrame:SetBackdropColor(red, green, blue [, alpha]) Sets a shading color for the frame's background graphic.
MessageFrame:SetBackdropBorderColor(red, green, blue [, alpha]) Sets a shading color for the frame's border graphic.
MessageFrame:SetBackdrop(backdrop) Sets a backdrop graphic for the frame.
MessageFrame:SetAttribute("name", value) Sets a secure frame attribute.
MessageFrame:SetAlpha(alpha) Sets the opacity of the region relative to its parent.
MessageFrame:SetAllPoints([region]) or MessageFrame:SetAllPoints(["name"]) Sets all anchor points of the region to match those of another region.
MessageFrame:RegisterForDrag(...) Registers the frame for dragging.
MessageFrame:RegisterEvent("event") Registers the frame for an [[docs/eventsevent]]
MessageFrame:RegisterAllEvents() Registers the frame for all events.
MessageFrame:Raise() Increases the frame's frame level above all other frames in its strata.
MessageFrame:Lower() Reduces the frame's frame level below all other frames in its strata.
visible = MessageFrame:IsVisible() Returns whether the region is visible.
enabled = MessageFrame:IsUserPlaced() Returns whether the frame is flagged for automatic saving and restoration of position and dimensions.
enabled = MessageFrame:IsToplevel() Returns whether the frame is automatically raised to the front when clicked.
shown = MessageFrame:IsShown() Returns whether the region is shown.
enabled = MessageFrame:IsResizable() Returns whether the frame can be resized by the user.
isProtected, explicit = MessageFrame:IsProtected() Returns whether the region is protected.
isType = MessageFrame:IsObjectType("type") Returns whether the object belongs to a given widget type.
movable = MessageFrame:IsMovable() Returns whether the frame can be moved by the user.
enabled = MessageFrame:IsMouseWheelEnabled() Returns whether mouse wheel interactivity is enabled for the frame.