RSS

Пятница, 01.11.2024, 23:27
Главная » WoW API »

API Функции

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

В разделе материалов: 7079
Показано материалов: 1301-1350
Страницы: « 1 2 ... 25 26 27 28 29 ... 141 142 »

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