Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
WoW
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
WoW:Widget API
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Frame Derivatives == Have all of the methods from [[#UIObject|UIObject]], [[#Region|Region]] and [[#Frame|Frame]], plus the following: === [[UIOBJECT Button|Button]] === : {{id|API|Button|Click}}() - Execute the click action of the button. : {{id|API|Button|Disable}}() - Disable the Button so that it cannot be clicked. : {{id|API|Button|Enable}}() - Enable to the Button so that it may be clicked. : {{id|API|Button|GetButtonState}}() - Return the current state ("PUSHED","NORMAL") of the Button. : {{id|API|Button|GetDisabledFontObject}}() - Return the font object for the Button when disabled (added 1.10) : REMOVED {{id|API|Button|GetDisabledTextColor}}() - Get the color of this button's text when disabled (r, g, b, a) (added 1.11)(removed 3.0.2) : {{id|API|Button|GetDisabledTexture}}() - Get the texture for this button when disabled (added 1.11) : REMOVED {{id|API|Button|GetFont}}() - Returns the font, size, and flags currently used for display on the Button. (removed 3.0.2) : {{id|API|Button|GetFontString}}() - Get this button's label FontString (added 1.11) : {{id|API|Button|GetHighlightFontObject}}() - Return the font object for the Button when highlighted (added 1.10) : REMOVED {{id|API|Button|GetHighlightTextColor}}() - Get the color of this button's text when highlighted (r, g, b, a) (added 1.11)(removed 3.0.2) : {{id|API|Button|GetHighlightTexture}}() - Get the texture for this button when highlighted (added 1.11) : {{id|API|Button|GetNormalTexture}}() - Get the normal texture for this button (added 1.11) : {{id|API|Button|GetNormalFontObject}}() - Get the Normal Font Object of the button (added 3.0.0) : {{id|API|Button|GetPushedTextOffset}}() - Get the text offset when this button is pushed (x, y) (added 1.11) : {{id|API|Button|GetPushedTexture}}() - Get the texture for this button when pushed (added 1.11) : {{id|API|Button|GetText}}() - Get the text label for the Button. : REMOVED {{id|API|Button|GetTextColor}}() - Get the normal color of this button's text (r, g, b, a) (added 1.11) (removed 3.0.2) : REMOVED {{id|API|Button|GetTextFontObject}}() - Return the font object for the Button's normal text (added 1.10)(removed 3.0.2) : {{id|API|Button|GetTextHeight}}() - Get the height of the Button's text. : {{id|API|Button|GetTextWidth}}() - Get the width of the Button's text. : {{id|API|Button|IsEnabled}}() - Determine whether the Button is enabled. : {{id|API|Button|LockHighlight}}() - Set the Button to always be drawn highlighted. : {{id|API|Button|RegisterForClicks}}("clickType"[,"clickType"...]) - Specify which mouse button up/down actions cause receive an OnClick notification. : {{id|API|Button|SetButtonState}}("state"[, lock]) - Set the state of the Button ("PUSHED", "NORMAL") and whether it is locked. : {{id|API|Button|SetDisabledFontObject}}([font]) - Set the font object for settings when disabled (added 1.10) : REMOVED {{id|API|Button|SetDisabledTextColor}}(r, g, b[, a]) - Set the disabled text color for the Button. (removed 4.0.1) : {{id|API|Button|SetDisabledTexture}}(texture or "texturePath") - Set the disabled texture for the Button (updated in 1.10) : {{id|API|Button|SetFont}}("font", size[,"flags"]) - Set the font to use for display. : {{id|API|Button|SetFontString}}(fontString) - Set the button's label FontString (added 1.11) : {{id|API|Button|SetFormattedText}}("formatstring"[, ...]) - Set the formatted text label for the Button. (added 2.3) : {{id|API|Button|SetHighlightFontObject}}([font]) - Set the font object for settings when highlighted (added 1.10) : REMOVED {{id|API|Button|SetHighlightTextColor}}(r, g, b[, a]) - Set the highlight text color for the Button. (removed 4.0.1) : {{id|API|Button|SetHighlightTexture}}(texture or "texturePath"[,alphaMode]) - Set the highlight texture for the Button (updated in 1.10) : {{id|API|Button|SetNormalTexture}}(texture or "texturePath") - Set the normal texture for the Button (updated in 1.10) : {{id|API|Button|SetNormalFontObject}}(FontString) - Replaces SetTextFontObject (updated in 3.0) : {{id|API|Button|SetPushedTextOffset}}(x, y) - Set the text offset for this button when pushed (added 1.11) : {{id|API|Button|SetPushedTexture}}(texture or "texturePath") - Set the pushed texture for the Button (updated in 1.10) : {{id|API|Button|SetText}}("text") - Set the text label for the Button. : REMOVED {{id|API|Button|SetTextColor}}(r, g, b) - Set the text color for the Button. (removed 3.0.2) : REMOVED {{id|API|Button|SetTextFontObject}}([font]) - Set the font object to get settings from for this Button's normal state (added 1.10)(removed 3.0.2) : {{id|API|Button|UnlockHighlight}}() - Set the Button to not always be drawn highlighted. === [[UIOBJECT Cooldown|Cooldown]] === : {{id|API|Cooldown|GetReverse}}() - returns true or false : {{id|API|Cooldown|SetCooldown}}(Start, Duration) : {{id|API|Cooldown|SetReverse}}(boolean) === [[UIOBJECT ColorSelect|ColorSelect]] === : {{id|API|ColorSelect|GetColorHSV}}() - Get the HSV values of the selected color. : {{id|API|ColorSelect|GetColorRGB}}() - Get the RGB values of the selected color. : {{id|API|ColorSelect|GetColorValueTexture}}() - Get the texture used to show color value (added 1.11) : {{id|API|ColorSelect|GetColorValueThumbTexture}}() - Get the texture for the color value thumb (added 1.11) : {{id|API|ColorSelect|GetColorWheelTexture}}() - Get the texture for the color wheel (added 1.11) : {{id|API|ColorSelect|GetColorWheelThumbTexture}}() - Get the texture for the color wheel thumb (added 1.11) : {{id|API|ColorSelect|SetColorHSV}}(h, s, v) - Set to a specific HSV color. : {{id|API|ColorSelect|SetColorRGB}}(r, g, b) - Set to a specific RGB color. : {{id|API|ColorSelect|SetColorValueTexture}}(texture or nil) - Set the texture used to show color value (added 1.11) : {{id|API|ColorSelect|SetColorValueThumbTexture}}(texture or "texture" or nil) - Set the texture for the color value thumb (added 1.11) : {{id|API|ColorSelect|SetColorWheelTexture}}(texture or nil) - Set the texture for the color wheel (added 1.11) : {{id|API|ColorSelect|SetColorWheelThumbTexture}}(texture or "texture" or nil) - Set the texture for the color wheel thumb (added 1.11) === [[UIOBJECT EditBox|EditBox]] === EditBox additionally has all of the methods from [[#FontInstance|FontInstance]], plus the following: : {{id|API|EditBox|AddHistoryLine}}("text") - Add text to the edit history. : {{id|API|EditBox|ClearFocus}}() : {{id|API|EditBox|GetAltArrowKeyMode}}() - Return whether only alt+arrow keys work for navigating the edit box, not arrow keys alone. : {{id|API|EditBox|GetBlinkSpeed}}() - Gets the blink speed of the EditBox in seconds (added 1.11) : {{id|API|EditBox|GetCursorPosition}}() - Gets the position of the cursor inside the EditBox (added 2.3) : {{id|API|EditBox|GetHistoryLines}}() - Get the number of history lines for this edit box : {{id|API|EditBox|GetHyperlinksEnabled}}() (added 3.0.8) : {{id|API|EditBox|GetInputLanguage}}() - Get the input language. locale based, not in-game. : {{id|API|EditBox|GetMaxBytes}}() - Gets the maximum number bytes allowed in the EditBox (added 1.11) : {{id|API|EditBox|GetMaxLetters}}() - Gets the maximum number of letters allowed in the EditBox (added 1.11) : {{id|API|EditBox|GetNumLetters}}() - Gets the number of letters in the box. : {{id|API|EditBox|GetNumber}}() : {{id|API|EditBox|GetText}}() - Get the current text contained in the edit box. : {{id|API|EditBox|GetTextInsets}}() - Gets the text display insets for the EditBox (added 1.11) : {{id|API|EditBox|HighlightText}}([startPos, endPos]) - Set the highlight to all or some of the edit box text. : {{id|API|EditBox|Insert}}("text") - Insert text into the edit box. : {{id|API|EditBox|IsAutoFocus}}() - Determine if the EditBox has autofocus enabled (added 1.11) : {{id|API|EditBox|IsMultiLine}}() - Determine if the EditBox accepts multiple lines (added 1.11) : {{id|API|EditBox|IsNumeric}}() - Determine if the EditBox only accepts numeric input (added 1.11) : {{id|API|EditBox|IsPassword}}() - Determine if the EditBox performs password masking (added 1.11) : {{id|API|EditBox|SetAltArrowKeyMode}}(enable) - Make only alt+arrow keys work for navigating the edit box, not arrow keys alone. : {{id|API|EditBox|SetAutoFocus}}(state) - Set whether or not the editbox will attempt to get input focus when it gets shown. default: true (added 1.11) : {{id|API|EditBox|SetBlinkSpeed}} : {{id|API|EditBox|SetCursorPosition}}(position) - Set the position of the cursor within the EditBox (added 2.3) : {{id|API|EditBox|SetFocus}}() - Move input focus (the cursor) to this editbox : {{id|API|EditBox|SetFont}}("font", size[,"flags"]) - Set the font to use for display. : {{id|API|EditBox|SetHistoryLines}}() - Set the number of history lines to remember. : {{id|API|EditBox|SetHyperlinksEnabled}}(enableFlag) (added 3.0.8) : {{id|API|EditBox|SetMaxBytes}}(maxBytes) - Set the maximum byte size for entered text. : {{id|API|EditBox|SetMaxLetters}}(maxLetters) - Set the maximum number of letters for entered text. : {{id|API|EditBox|SetMultiLine}}(state) - Set the EditBox's multi-line state (added 1.11) : {{id|API|EditBox|SetNumber}}(number) : {{id|API|EditBox|SetNumeric}}(state) - Set if the EditBox only accepts numeric input (added 1.11) : {{id|API|EditBox|SetPassword}}(state) - Set the EditBox's password masking state (added 1.11) : {{id|API|EditBox|SetText}}("text") - Set the text contained in the edit box. : {{id|API|EditBox|SetTextInsets}}(l, r, t, b) : {{id|API|EditBox|ToggleInputLanguage}}() === [[UIOBJECT GameTooltip|GameTooltip]] === The tooltip automatically resizes itself when its Show() method is called. : {{id|API|GameTooltip|AddDoubleLine}}(textL, textR, rL, gL, bL, rR, gR, bR) : {{id|API|GameTooltip|AddFontStrings}}(leftstring, rightstring) - Dynamically expands the size of a tooltip (added 1.11) : {{id|API|GameTooltip|AddLine}}("text" [, red, green, blue [, wrapText]]) - Appends a new line to the tooltip. : {{id|API|GameTooltip|AddTexture}}("texture") - Add a texture to the last line added. : {{id|API|GameTooltip|AppendText}}("text") - Append text to the end of the first line of the tooltip. : {{id|API|GameTooltip|ClearLines}}() - Clear all lines of tooltip (both left and right ones) : {{id|API|GameTooltip|FadeOut}} : {{id|API|GameTooltip|GetAnchorType}}() - Returns the current anchoring type. : {{id|API|GameTooltip|GetItem}}() - Returns name, link. : {{id|API|GameTooltip|GetMinimumWidth}}() - : {{id|API|GameTooltip|GetSpell}}() - Returns name, rank. : {{id|API|GameTooltip|GetOwner}}() - Returns owner frame, anchor. : {{id|API|GameTooltip|GetUnit}}() - Returns unit name, unit id. : {{id|API|GameTooltip|IsUnit}}("unit") - Returns bool. : {{id|API|GameTooltip|NumLines}}() - Get the number of lines in the tooltip. : {{id|API|GameTooltip|SetAction}}(slot) - Shows the tooltip for the specified action button. : {{id|API|GameTooltip|SetAuctionCompareItem}}("type", index[, offset]) : {{id|API|GameTooltip|SetAuctionItem}}("type", index) - Shows the tooltip for the specified auction item. : {{id|API|GameTooltip|SetAuctionSellItem}} : {{id|API|GameTooltip|SetBackpackToken}}(id) - : {{id|API|GameTooltip|SetBagItem}}(bag, slot) : {{id|API|GameTooltip|SetBuybackItem}} : REMOVED {{id|API|GameTooltip|SetCraftItem}} (removed 3.0.2) : REMOVED {{id|API|GameTooltip|SetCraftSpell}} (removed 3.0.2) : {{id|API|GameTooltip|SetCurrencyToken}}(tokenId) - Shows the tooltip for the specified token : {{id|API|GameTooltip|SetFrameStack}}(showhidden) - Shows the mouseover frame stack, used for debugging. : {{id|API|GameTooltip|SetGlyph}}(id) - : {{id|API|GameTooltip|SetGuildBankItem}}(tab, id) - Shows the tooltip for the specified guild bank item : {{id|API|GameTooltip|SetHyperlink}}("itemString" or "itemLink") - Changes the item which is displayed in the tooltip according to the passed argument. : {{id|API|GameTooltip|SetHyperlinkCompareItem}}("itemLink", index) - Sets a comparison tooltip for the index. returns true if comparison. [index 1 .. 3] : {{id|API|GameTooltip|SetInboxItem}}(index) - Shows the tooltip for the specified mail inbox item. : {{id|API|GameTooltip|SetInventoryItem}}(unit, slot[, nameOnly]) : {{id|API|GameTooltip|SetLootItem}} : {{id|API|GameTooltip|SetLootRollItem}}(id) - Shows the tooltip for the specified loot roll item. : {{id|API|GameTooltip|SetMerchantCompareItem}}("slot"[, offset]) : {{id|API|GameTooltip|SetMerchantItem}} : {{id|API|GameTooltip|SetMinimumWidth}}(width) - (Formerly SetMoneyWidth) : {{id|API|GameTooltip|SetOwner}}(owner, "anchor"[, +x, +y]) : {{id|API|GameTooltip|SetPadding}} : {{id|API|GameTooltip|SetPetAction}}(slot) - Shows the tooltip for the specified pet action. : REMOVED {{id|API|GameTooltip|SetPlayerBuff}}(buffIndex) - Direct the tooltip to show information about a player's buff. (removed 3.0.2) : {{id|API|GameTooltip|SetQuestItem}} : {{id|API|GameTooltip|SetQuestLogItem}} : {{id|API|GameTooltip|SetQuestLogRewardSpell}} - Shows the tooltip for the spell reward of the currently selected quest. : {{id|API|GameTooltip|SetQuestRewardSpell}} : {{id|API|GameTooltip|SetSendMailItem}} : {{id|API|GameTooltip|SetShapeshift}}(slot) - Shows the tooltip for the specified shapeshift form. : {{id|API|GameTooltip|SetSpell}}(spellId, bookType) - Shows the tooltip for the specified spell. : {{id|API|GameTooltip|SetTalent}}(tabIndex, talentIndex) - Shows the tooltip for the specified talent. : {{id|API|GameTooltip|SetText}}("text"[, red, green, blue[, alpha[, textWrap]]]) - Set the text of the tooltip. : {{id|API|GameTooltip|SetTracking}} : {{id|API|GameTooltip|SetTradePlayerItem}} : {{id|API|GameTooltip|SetTradeSkillItem}} : {{id|API|GameTooltip|SetTradeTargetItem}} : {{id|API|GameTooltip|SetTrainerService}} : {{id|API|GameTooltip|SetUnit}} : {{id|API|GameTooltip|SetUnitAura}}("[[unitId]]", auraIndex[, filter]) - Shows the tooltip for a unit's aura. (Exclusive to 3.x.x / WotLK) : {{id|API|GameTooltip|SetUnitBuff}}("[[unitId]]", buffIndex[, raidFilter]) - Shows the tooltip for a unit's buff. : {{id|API|GameTooltip|SetUnitDebuff}}("[[unitId]]", buffIndex[, raidFilter]) - Shows the tooltip for a unit's debuff. === [[UIOBJECT MessageFrame|MessageFrame]] === MessageFrame additionally has all of the methods from [[#FontInstance|FontInstance]], plus the following: : {{id|API|MessageFrame|AddMessage}}("text", r, g, b, messageGroup, holdTime) - Add a message to the frame which will fade eventually. : {{id|API|MessageFrame|Clear}}() - Clear the messages from the frame (added 1.11) : {{id|API|MessageFrame|GetFadeDuration}}() - Gets the fade duration in seconds (added 1.11) : {{id|API|MessageFrame|GetFading}}() - Get whether the frame is fading (added 1.11) : {{id|API|MessageFrame|GetInsertMode}}() - Get the insert mode for the frame (added 1.11) : {{id|API|MessageFrame|GetTimeVisible}}() - Get the message visibility time in seconds (added 1.11) : {{id|API|MessageFrame|SetFadeDuration}}(seconds) - Set the fade duration (added 1.11) : {{id|API|MessageFrame|SetFading}}(status) - Set whether the frame fades messages (added 1.11) : {{id|API|MessageFrame|SetInsertMode}}("TOP" or "BOTTOM") - Set where new messages are inserted (added 1.11) : {{id|API|MessageFrame|SetTimeVisible}}(seconds) - Sets the message visibility time (added 1.11) === [[UIOBJECT Minimap|Minimap]] === : {{id|API|Minimap|GetPingPosition}}() - Get the last ping location. : {{id|API|Minimap|GetZoom}}() - Get the current zoom level. : {{id|API|Minimap|GetZoomLevels}}() - Get the maximum zoom level. : {{id|API|Minimap|PingLocation}}(x, y) - Perform a ping at the specified location. As of 2.4.2 protected while targeting area of effect spells. : {{id|API|Minimap|SetArrowModel}}("file") - Set the file to use for the arrow model (added 1.11) : {{id|API|Minimap|SetBlipTexture}} - Set the file to use for blips (ObjectIcons) : {{id|API|Minimap|SetIconTexture}} : {{id|API|Minimap|SetMaskTexture}} : {{id|API|Minimap|SetPlayerModel}}("file") - Set the file to use for the player model (added 1.11) : {{id|API|Minimap|SetZoom}}(level) - Set the current zoom level. === [[UIOBJECT Model|Model]] === Used to display real 3D-mesh geometry as part of the UI. : {{id|API|Model|AdvanceTime}}() : {{id|API|Model|ClearFog}}() - Removes all fogging effects currently active in rendering. : {{id|API|Model|ClearModel}}() - Removes all geometry from the Model, i.e. makes it empty. : {{id|API|Model|GetFacing}}() - Returns the direction the model is facing. : {{id|API|Model|GetFogColor}}() - Gets the fog color as r,g,b,a. (added 1.11) : {{id|API|Model|GetFogFar}}() - Gets the fog far distance (added 1.11) : {{id|API|Model|GetFogNear}}() - Gets the fog near distance (added 1.11) : {{id|API|Model|GetLight}}() - Gets the light spec for the model, returns a arg list compatible with SetLight (added 1.11) : {{id|API|Model|GetModel}}() - Gets the model file for this Model (added 1.11) : {{id|API|Model|GetModelScale}}() - Returns the current mesh scaling factor. : {{id|API|Model|GetPosition}}() - Returns the current position of the mesh as x, y, z : {{id|API|Model|ReplaceIconTexture}}("texture") : {{id|API|Model|SetCamera}}(index) - Select a pre-defined camera. : {{id|API|Model|SetFacing}}(facing) - Set the direction that the model is facing. : {{id|API|Model|SetFogColor}}(r, g, b[, a]) - Set the fog color and enable fogging. : {{id|API|Model|SetFogFar}}(value) - Set the far-clipping plane distance for fogging. : {{id|API|Model|SetFogNear}}(value) - Set the near-clipping plane distance for fogging. : {{id|API|Model|SetGlow}}(..) - : {{id|API|Model|SetLight}}(enabled[, omni, dirX, dirY, dirZ, ambIntensity[, ambR, ambG, ambB[, dirIntensity[, dirR, dirG, dirB]]]]) - place light source : {{id|API|Model|SetModel}}("file") - Set the mesh that is displayed in the frame. : {{id|API|Model|SetModelScale}}(scale) - Sets the scale factor for the mesh before rendering. : {{id|API|Model|SetPosition}}(x, y, z) - Set the position of the mesh inside the frame's coordinate system. : {{id|API|Model|SetSequence}}(sequence) - Set the animation to be played. : {{id|API|Model|SetSequenceTime}}(sequence, time) === [[UIOBJECT ScrollFrame|ScrollFrame]] === : {{id|API|ScrollFrame|GetHorizontalScroll}}() : {{id|API|ScrollFrame|GetHorizontalScrollRange}}() : {{id|API|ScrollFrame|GetScrollChild}} : {{id|API|ScrollFrame|GetVerticalScroll}}() : {{id|API|ScrollFrame|GetVerticalScrollRange}}() : {{id|API|ScrollFrame|SetHorizontalScroll}}(offset) : {{id|API|ScrollFrame|SetScrollChild}} : {{id|API|ScrollFrame|SetVerticalScroll}}(offset) : {{id|API|ScrollFrame|UpdateScrollChildRect}}() - no longer required after patch 2.3 === [[UIOBJECT ScrollingMessageFrame|ScrollingMessageFrame]] === ScrollingMessageFrame additionally has all of the methods from [[#FontInstance|FontInstance]], plus the following: : {{id|API|ScrollingMessageFrame|AddMessage}}("text"[, r, g, b[, id][, addToStart]]) - Add a message to the frame with an optional color, ID (updated 2.4.2) : {{id|API|ScrollingMessageFrame|AtBottom}}() - Test whether frame is at the bottom. : {{id|API|ScrollingMessageFrame|AtTop}}() - Test whether frame is at the top (added 1.11) : {{id|API|ScrollingMessageFrame|Clear}}() - Clear all lines from the frame. : {{id|API|ScrollingMessageFrame|GetCurrentLine}}() - Returns the line number that was printed last, starting from 0. : <s>{{id|API|ScrollingMessageFrame|GetCurrentScroll}}() - Get number messages upward that are scrolled. (renamed 7.1.0 to GetScrollOffset)</s> : {{id|API|ScrollingMessageFrame|GetFadeDuration}}() : {{id|API|ScrollingMessageFrame|GetFading}}() : {{id|API|ScrollingMessageFrame|GetHyperlinksEnabled}}() (added 3.0.8) : {{id|API|ScrollingMessageFrame|GetInsertMode}}() - Gets the current insert mode for a frame. (added 2.3) : {{id|API|ScrollingMessageFrame|GetMaxLines}}() - Get the maximum number of lines the frame can display. : {{id|API|ScrollingMessageFrame|GetNumLinesDisplayed}}() : {{id|API|ScrollingMessageFrame|GetNumMessages}}() : {{id|API|ScrollingMessageFrame|GetScrollOffset}}() - Get number messages upward that are scrolled. (renamed 7.1.0 from GetCurrentScroll) : {{id|API|ScrollingMessageFrame|GetTimeVisible}}() : {{id|API|ScrollingMessageFrame|PageDown}}() : {{id|API|ScrollingMessageFrame|PageUp}}() : {{id|API|ScrollingMessageFrame|ScrollDown}}() : {{id|API|ScrollingMessageFrame|ScrollToBottom}}() : {{id|API|ScrollingMessageFrame|ScrollToTop}}() : {{id|API|ScrollingMessageFrame|ScrollUp}}() : {{id|API|ScrollingMessageFrame|SetFadeDuration}}(seconds) - Set the fade duration. : {{id|API|ScrollingMessageFrame|SetFading}}([isEnabled]) - Set whether fading is enabled (renamed 1.11) : {{id|API|ScrollingMessageFrame|SetHyperlinksEnabled}}(enableFlag) (added 3.0.8) : {{id|API|ScrollingMessageFrame|SetInsertMode}}("mode") - Set location for new strings added to the frame ["TOP", "BOTTOM"] (added 2.3) : {{id|API|ScrollingMessageFrame|SetMaxLines}}(lines) - Set maximum number of history lines, and resets messages already within frame : {{id|API|ScrollingMessageFrame|SetScrollOffset}}(offset) (renamed 2.3) : {{id|API|ScrollingMessageFrame|SetTimeVisible}}(seconds) - Sets how long lines remain visible. : {{id|API|ScrollingMessageFrame|UpdateColorByID}}(id, r, g, b) === [[UIOBJECT SimpleHTML|SimpleHTML]] === : {{id|API|SimpleHTML|GetFont}}(["element"]) : {{id|API|SimpleHTML|GetFontObject}}(["element"]) : {{id|API|SimpleHTML|GetHyperlinkFormat}}() - Set the string.format format to use for displaying hyperlinks (added 1.11) : {{id|API|SimpleHTML|GetHyperlinksEnabled}}() (added 3.0.8) : {{id|API|SimpleHTML|GetJustifyH}}(["element"]) : {{id|API|SimpleHTML|GetJustifyV}}(["element"]) : {{id|API|SimpleHTML|GetShadowColor}}(["element"]) : {{id|API|SimpleHTML|GetShadowOffset}}(["element"]) : {{id|API|SimpleHTML|GetSpacing}}(["element"]) : {{id|API|SimpleHTML|GetTextColor}}(["element"]) : {{id|API|SimpleHTML|SetFont}}(["element",] "path", height[,"flags"]) : {{id|API|SimpleHTML|SetFontObject}}(["element",] fontObject) : {{id|API|SimpleHTML|SetHyperlinkFormat}}("format") - Set the string.format format to use for displaying hyperlinks. : {{id|API|SimpleHTML|SetHyperlinksEnabled}}(enableFlag) (added 3.0.8) : {{id|API|SimpleHTML|SetJustifyH}}(["element",] "justifyH") : {{id|API|SimpleHTML|SetJustifyV}}(["element",] "justifyV") : {{id|API|SimpleHTML|SetShadowColor}}(["element",] r, g, b[, a]) : {{id|API|SimpleHTML|SetShadowOffset}}(["element",] x, y) : {{id|API|SimpleHTML|SetSpacing}}(["element",] lineSpacing) : {{id|API|SimpleHTML|SetText}}("text") - Set the HTML markup to be displayed (note: if there is ''any'' markup error, it will be displayed as plain text) : {{id|API|SimpleHTML|SetTextColor}}(["element",] r, g, b[, a]) === [[UIOBJECT Slider|Slider]] === : {{id|API|Slider|Disable}}() - Disables the slider : {{id|API|Slider|Enable}}() - Enables the slider : {{id|API|Slider|GetMinMaxValues}}() - Get the current bounds of the slider. : {{id|API|Slider|GetOrientation}}() - Returns "HORIZONTAL" or "VERTICAL". : {{id|API|Slider|GetStepsPerPage}}() - Get the current page step size of the slider. (added 5.4.0) : {{id|API|Slider|GetThumbTexture}}() - Get the texture for this slider's thumb. (added 1.11.0) : {{id|API|Slider|GetValue}}() - Get the current value of the slider. : {{id|API|Slider|GetValueStep}}() - Get the current step size of the slider. : {{id|API|Slider|IsEnabled}}() - Returns enabled status of the slider. : {{id|API|Slider|SetMinMaxValues}}(min, max) - Set the bounds of the slider. : {{id|API|Slider|SetOrientation}}("orientation") - "HORIZONTAL" or "VERTICAL". : {{id|API|Slider|SetStepsPerPage}}(value) - Set the page step size of the slider. (added 5.4.0) : {{id|API|Slider|SetThumbTexture}}(texture or "texturePath") Set texture for this slider's thumb. (added 1.11.0) : {{id|API|Slider|SetValue}}(value) - Set the value of the slider. Also causes the thumb to show on the first call. : {{id|API|Slider|SetValueStep}}(value) - Set the step size of the slider. === [[UIOBJECT StatusBar|StatusBar]] === : {{id|API|StatusBar|GetMinMaxValues}}() - Get the current bounds of the bar. : {{id|API|StatusBar|GetOrientation}} : {{id|API|StatusBar|GetStatusBarColor}} : {{id|API|StatusBar|GetStatusBarTexture}}() - Returns the texture object for the bar : {{id|API|StatusBar|GetValue}}() - Get the current value of the bar. : {{id|API|StatusBar|SetMinMaxValues}}(min, max) - Set the bounds of the bar. : {{id|API|StatusBar|SetOrientation}}("orientation") - "HORIZONTAL" or "VERTICAL". : {{id|API|StatusBar|SetStatusBarColor}}(r, g, b[, alpha]) - Set the color of the bar. : {{id|API|StatusBar|SetStatusBarTexture}}("file" or texture[,"layer"]) - Sets the texture of the bar (added 'texture' 1.11) : {{id|API|StatusBar|SetValue}}(value) - Set the value of the bar.
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)