MessageFrame
widget type33 methodsavailable in: camelot
CreateFrame("MessageFrame", …) makes one. It has every method of Frame, plus 33 of its own.
Inherits from
- MessageFrame · 33
- Frame · 126
- Region · 16
- ScriptRegion · 55
- ScriptRegionResizing · 13
- AnimatableObject · 3
- Object · 5
- FrameScriptObject · 21
The number is each type's own documented methods. A MessageFrame has all of them.
Methods
In the emulator: 19 implemented, 14 guessed.
| method | what it does | status |
|---|---|---|
AddMessage | Outputs text to a MessageFrame in the specified color. · warcraft.wiki.gg ↗(text: string, colorR: number, colorG: number, colorB: number, a: number?, messageID: number?) | implemented |
Clear | Removes all messages from the frame. · by wowlua() | implemented |
GetFadeDuration | Returns how long messages take to fade out, in seconds. · by wowlua(): number | guessed |
GetFadePower | Returns the power of the messages' fade curve. · by wowlua(): number | guessed |
GetFading | Whether messages fade out. · by wowlua(): boolean | guessed |
GetFont | Returns the basic font properties. · warcraft.wiki.gg ↗(): (string, uiFontHeight, TBFFlags) | implemented |
GetFontObject | Returns the frame's font object. · by wowlua(): Font | guessed |
GetFontStringByID | Returns the font string that shows a message. · by wowlua(messageID: number): FontString | implemented |
GetIndentedWordWrap | Whether wrapped lines of a message are indented. · by wowlua(): boolean | guessed |
GetInsertMode | Returns whether new messages are added at the top or the bottom. · by wowlua(): InsertMode | guessed |
GetJustifyH | Returns the horizontal alignment of the messages. · by wowlua(): JustifyHorizontal | guessed |
GetJustifyV | Returns the vertical alignment of the messages. · by wowlua(): JustifyVertical | guessed |
GetShadowColor | Returns the color of the text's shadow. · by wowlua(): (number, number, number, number) | guessed |
GetShadowOffset | Returns the offset of the text's shadow. · by wowlua(): (number, number) | guessed |
GetSpacing | Returns the spacing between lines. · by wowlua(): number | guessed |
GetTextColor | Returns the default text color. · by wowlua(): (number, number, number, number) | guessed |
GetTimeVisible | Returns how long messages stay before they fade, in seconds. · by wowlua(): number | guessed |
HasMessageByID | Whether the frame shows a message with the ID. · by wowlua(messageID: number): boolean | guessed |
ResetMessageFadeByID | Restarts the fade of a message, so it stays visible longer. · by wowlua(messageID: number) | implemented |
SetFadeDuration | Sets how long messages take to fade out. · by wowlua(fadeDurationSeconds: number) | implemented |
SetFadePower | Sets the power of the messages' fade curve. · by wowlua(fadePower: number) | implemented |
SetFading | Sets whether messages fade out. · by wowlua(fading: boolean) | implemented |
SetFont | Sets the basic font properties. · warcraft.wiki.gg ↗(fontFile: string, height: uiFontHeight, flags: TBFFlags) | implemented |
SetFontObject | Sets the frame's font object. · by wowlua(font: Font) | implemented |
SetIndentedWordWrap | Sets whether wrapped lines of a message are indented. · by wowlua(wordWrap: boolean) | implemented |
SetInsertMode | Sets whether new messages are added at the top or the bottom. · by wowlua(mode: InsertMode) | implemented |
SetJustifyH | Sets the horizontal alignment of the messages. · by wowlua(justifyH: JustifyHorizontal) | implemented |
SetJustifyV | Sets the vertical alignment of the messages. · by wowlua(justifyV: JustifyVertical) | implemented |
SetShadowColor | Sets the color of the text's shadow. · by wowlua(colorR: number, colorG: number, colorB: number, a: number?) | implemented |
SetShadowOffset | Sets the offset of the text's shadow. · by wowlua(offsetX: number, offsetY: number) | implemented |
SetSpacing | Sets the spacing between lines. · by wowlua(spacing: number) | implemented |
SetTextColor | Sets the text color. · warcraft.wiki.gg ↗(colorR: number, colorG: number, colorB: number, a: number?) | implemented |
SetTimeVisible | Sets how long messages stay before they fade. · by wowlua(timeVisibleSeconds: number) | implemented |
sources
Methods and inheritance: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.