v0.13.8

EditBox

widget type79 methodsavailable in: camelot

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

Inherits from

  1. EditBox · 79
  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 EditBox has all of them.

Methods

In the emulator: 56 implemented, 23 guessed.

methodwhat it doesstatus
AddHistoryLineAdds a string to the edit box's history. · warcraft.wiki.gg ↗
(text: string)
implemented
ClearFocusClears the input text focus out of the edit box. · warcraft.wiki.gg ↗
()
implemented
ClearHighlightTextRemoves the edit box's text selection. · by wowlua
()
implemented
ClearHistoryClears the edit box's history of entered lines. · by wowlua
()
implemented
DisableDisables the edit box so it no longer takes input. · by wowlua
()
implemented
EnableEnables the edit box so it takes input. · by wowlua
()
implemented
GetAltArrowKeyModeReturns true if the edit box ignores keyboard arrows. · warcraft.wiki.gg ↗
(): boolean
guessed
GetBlinkSpeedReturns how fast the edit box's cursor blinks. · by wowlua
(): number
guessed
GetCursorPositionReturns the position of the editbox cursor. · warcraft.wiki.gg ↗
(): number
guessed
GetDisplayTextReturns the text as the edit box shows it. · by wowlua
(): string?
guessed
GetFontReturns the basic font properties. · warcraft.wiki.gg ↗
(): (string, number, TBFFlags)
implemented
GetFontObjectReturns the edit box's font object. · by wowlua
(): Font
guessed
GetHighlightColorReturns the color of the edit box's text selection as red, green, blue and alpha. · by wowlua
(): (number, number, number, number)
guessed
GetHistoryLinesReturns how many entered lines the edit box keeps in its history. · by wowlua
(): number
guessed
GetIndentedWordWrapWhether wrapped lines in the edit box are indented. · by wowlua
(): boolean
guessed
GetInputLanguageReturns the language used for providing input to the edit box. · warcraft.wiki.gg ↗
(): string
guessed
GetJustifyHReturns the edit box's horizontal text alignment. · by wowlua
(): JustifyHorizontal
guessed
GetJustifyVReturns the edit box's vertical text alignment. · by wowlua
(): JustifyVertical
guessed
GetMaxBytesReturns the most bytes of text the edit box accepts. · by wowlua
(): number
guessed
GetMaxLettersReturns the most letters the edit box accepts. · by wowlua
(): number
guessed
GetNumLettersReturns the number of letters in the edit box. · by wowlua
(): number?
guessed
GetNumLinesReturns the number of lines in the edit box. · by wowlua
(): number
implemented
GetNumberReads any number value in the edit box. · warcraft.wiki.gg ↗
(): number?
implemented
GetShadowColorReturns the color of the edit box's text shadow as red, green, blue and alpha. · by wowlua
(): (number, number, number, number)
guessed
GetShadowOffsetReturns the offset of the edit box's text shadow. · by wowlua
(): (number, number)
guessed
GetSpacingReturns the spacing between the edit box's lines. · by wowlua
(): number
guessed
GetTextReturns the value of an edit box. · warcraft.wiki.gg ↗
(): string
implemented
GetTextColorReturns the edit box's text color as red, green, blue and alpha. · by wowlua
(): (number, number, number, number)
guessed
GetTextInsetsReturns the amount of padding applied to the edit box text. · warcraft.wiki.gg ↗
(): (number, number, number, number)
implemented
GetUTF8CursorPositionReturns the cursor position in the edit box, counted in characters. · by wowlua
(): number
guessed
GetVisibleTextByteLimitReturns the most bytes of text the edit box shows. · by wowlua
(): number
guessed
HasFocusWhether the edit box has the keyboard focus. · by wowlua
(): boolean
implemented
HasTextWhether the edit box has text. · by wowlua
(): boolean
guessed
HighlightTextSelects text in an EditBox. · warcraft.wiki.gg ↗
(start: number, stop: number)
implemented
InsertInserts text at the current cursor position. · warcraft.wiki.gg ↗
(text: string)
implemented
IsAlphabeticOnlyWhether the edit box accepts only letters. · by wowlua
(): boolean
implemented
IsAutoFocusWhether the edit box takes the keyboard focus when it is shown. · by wowlua
(): boolean
implemented
IsCountInvisibleLettersWhether the edit box counts invisible characters, such as color codes, toward its letter limit. · by wowlua
(): boolean
implemented
IsEnabledWhether the edit box is enabled. · by wowlua
(): boolean
implemented
IsInIMECompositionModeWhether the player is composing text with an input method editor in the edit box. · by wowlua
(): boolean
implemented
IsMultiLineWhether the edit box accepts several lines. · by wowlua
(): boolean
implemented
IsNumericWhether the edit box accepts only digits. · by wowlua
(): boolean
implemented
IsNumericFullRangeWhether the edit box accepts any number, including negative and decimal ones. · by wowlua
(): boolean
implemented
IsPasswordWhether the edit box hides its text as a password. · by wowlua
(): boolean
implemented
IsSecureTextWhether the edit box's text is secure. · by wowlua
(): boolean
implemented
ResetInputModeResets the edit box's input mode. · by wowlua
()
guessed
SetAlphabeticOnlySets whether the edit box accepts only letters. · by wowlua
(enabled: boolean)
implemented
SetAltArrowKeyModeSets whether the arrow keys move the cursor only while Alt is held. · by wowlua
(altMode: boolean)
implemented
SetAutoFocusSets whether the cursor should automatically focus on the edit box when it is shown. · warcraft.wiki.gg ↗
(autoFocus: boolean)
implemented
SetBlinkSpeedSets how fast the edit box's cursor blinks. · by wowlua
(cursorBlinkSpeedSec: number)
implemented
SetCountInvisibleLettersSets if invisible characters should count towards max letter count. · warcraft.wiki.gg ↗
(countInvisibleLetters: boolean)
implemented
SetCursorPositionSets the position of the cursor in the edit box. · warcraft.wiki.gg ↗
(cursorPosition: number)
implemented
SetEnabledEnables or disables the edit box, allowing or preventing user interaction. · warcraft.wiki.gg ↗
(enabled: boolean)
implemented
SetFocusGives the edit box the keyboard focus. · by wowlua
()
implemented
SetFontSets the basic font properties. · warcraft.wiki.gg ↗
(fontFile: string, height: uiFontHeight, flags: TBFFlags): boolean
implemented
SetFontObjectSets the edit box's font object. · by wowlua
(font: Font)
implemented
SetHighlightColorSets the object's highlight color. · warcraft.wiki.gg ↗
(colorR: number, colorG: number, colorB: number, a: number?)
implemented
SetHistoryLinesSets how many entered lines the edit box keeps in its history. · by wowlua
(numHistoryLines: number)
implemented
SetIndentedWordWrapSets whether wrapped lines in the edit box are indented. · by wowlua
(isIndented: boolean)
implemented
SetJustifyHSets the edit box's horizontal text alignment. · by wowlua
(justifyH: JustifyHorizontal)
implemented
SetJustifyVSets the edit box's vertical text alignment. · by wowlua
(justifyV: JustifyVertical)
implemented
SetMaxBytesSets the most bytes of text the edit box accepts. · by wowlua
(maxBytes: number)
implemented
SetMaxLettersSets the most letters the edit box accepts. · by wowlua
(maxLetters: number)
implemented
SetMultiLineSets whether the edit box shows more than one line of text. · warcraft.wiki.gg ↗
(multiline: boolean)
implemented
SetNumberSets the edit box's text to a number. · by wowlua
(number: number)
implemented
SetNumericSpecifies that the EditBox can only contain numeric values. · warcraft.wiki.gg ↗
(isNumeric: boolean)
implemented
SetNumericFullRangeSets whether the edit box accepts any number, including negative and decimal ones. · by wowlua
(isNumeric: boolean)
implemented
SetPasswordSets whether all character in the EditBox are shown as *. · warcraft.wiki.gg ↗
(isPassword: boolean)
implemented
SetSecureTextSets whether the edit box's text is secure. · by wowlua
(isSecure: boolean)
implemented
SetSecurityDisablePasteStops pasting into the edit box. · by wowlua
()
implemented
SetSecurityDisableSetTextBlocks setting the edit box's text. · by wowlua
()
implemented
SetShadowColorSets the color of the edit box's text shadow. · by wowlua
(colorR: number, colorG: number, colorB: number, a: number?)
implemented
SetShadowOffsetSets the offset of the edit box's text shadow. · by wowlua
(offsetX: number, offsetY: number)
implemented
SetSpacingSets the spacing between the edit box's lines. · by wowlua
(fontHeight: number)
implemented
SetTextSets the edit box text. · warcraft.wiki.gg ↗
(text: string)
implemented
SetTextColorSets the text color. · warcraft.wiki.gg ↗
(colorR: number, colorG: number, colorB: number, a: number?)
implemented
SetTextInsetsSets the amount of padding applied to the edit box text. · warcraft.wiki.gg ↗
(left: number, right: number, top: number, bottom: number)
implemented
SetVisibleTextByteLimitSets the most bytes of text the edit box shows. · by wowlua
(maxVisibleBytes: number)
implemented
ToggleInputLanguageSwitches the edit box's input language. · by wowlua
()
guessed

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.