v0.13.8

MessageFrame

widget type33 methodsavailable in: camelot

CreateFrame("MessageFrame", …) makes one. It has every method of Frame, plus 33 of its own.

Inherits from

  1. MessageFrame · 33
  2. Frame · 126
  3. Region · 16
  4. ScriptRegion · 55
  5. ScriptRegionResizing · 13
  6. AnimatableObject · 3
  7. Object · 5
  8. 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.

methodwhat it doesstatus
AddMessageOutputs text to a MessageFrame in the specified color. · warcraft.wiki.gg ↗
(text: string, colorR: number, colorG: number, colorB: number, a: number?, messageID: number?)
implemented
ClearRemoves all messages from the frame. · by wowlua
()
implemented
GetFadeDurationReturns how long messages take to fade out, in seconds. · by wowlua
(): number
guessed
GetFadePowerReturns the power of the messages' fade curve. · by wowlua
(): number
guessed
GetFadingWhether messages fade out. · by wowlua
(): boolean
guessed
GetFontReturns the basic font properties. · warcraft.wiki.gg ↗
(): (string, uiFontHeight, TBFFlags)
implemented
GetFontObjectReturns the frame's font object. · by wowlua
(): Font
guessed
GetFontStringByIDReturns the font string that shows a message. · by wowlua
(messageID: number): FontString
implemented
GetIndentedWordWrapWhether wrapped lines of a message are indented. · by wowlua
(): boolean
guessed
GetInsertModeReturns whether new messages are added at the top or the bottom. · by wowlua
(): InsertMode
guessed
GetJustifyHReturns the horizontal alignment of the messages. · by wowlua
(): JustifyHorizontal
guessed
GetJustifyVReturns the vertical alignment of the messages. · by wowlua
(): JustifyVertical
guessed
GetShadowColorReturns the color of the text's shadow. · by wowlua
(): (number, number, number, number)
guessed
GetShadowOffsetReturns the offset of the text's shadow. · by wowlua
(): (number, number)
guessed
GetSpacingReturns the spacing between lines. · by wowlua
(): number
guessed
GetTextColorReturns the default text color. · by wowlua
(): (number, number, number, number)
guessed
GetTimeVisibleReturns how long messages stay before they fade, in seconds. · by wowlua
(): number
guessed
HasMessageByIDWhether the frame shows a message with the ID. · by wowlua
(messageID: number): boolean
guessed
ResetMessageFadeByIDRestarts the fade of a message, so it stays visible longer. · by wowlua
(messageID: number)
implemented
SetFadeDurationSets how long messages take to fade out. · by wowlua
(fadeDurationSeconds: number)
implemented
SetFadePowerSets the power of the messages' fade curve. · by wowlua
(fadePower: number)
implemented
SetFadingSets whether messages fade out. · by wowlua
(fading: boolean)
implemented
SetFontSets the basic font properties. · warcraft.wiki.gg ↗
(fontFile: string, height: uiFontHeight, flags: TBFFlags)
implemented
SetFontObjectSets the frame's font object. · by wowlua
(font: Font)
implemented
SetIndentedWordWrapSets whether wrapped lines of a message are indented. · by wowlua
(wordWrap: boolean)
implemented
SetInsertModeSets whether new messages are added at the top or the bottom. · by wowlua
(mode: InsertMode)
implemented
SetJustifyHSets the horizontal alignment of the messages. · by wowlua
(justifyH: JustifyHorizontal)
implemented
SetJustifyVSets the vertical alignment of the messages. · by wowlua
(justifyV: JustifyVertical)
implemented
SetShadowColorSets the color of the text's shadow. · by wowlua
(colorR: number, colorG: number, colorB: number, a: number?)
implemented
SetShadowOffsetSets the offset of the text's shadow. · by wowlua
(offsetX: number, offsetY: number)
implemented
SetSpacingSets the spacing between lines. · by wowlua
(spacing: number)
implemented
SetTextColorSets the text color. · warcraft.wiki.gg ↗
(colorR: number, colorG: number, colorB: number, a: number?)
implemented
SetTimeVisibleSets 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.