Widget API: EditBox:SetText

From AddOn Studio
Revision as of 05:20, 8 September 2007 by WoWWiki>Fibby
Jump to navigation Jump to search

Widget API ← EditBox < SetText


Sets editBox's text to the specified string.

editBox:SetText(str)


Arguments

str (string) -- the string you want to appear in the EditBox

Returns

nil

Details

You should call a SetText("") every time you read from an EditBox, so the command line is free for the next input.

See Also