WoW:API Button SetNormalTexture: Difference between revisions

Noted the escape character is used in the texture path.
({{widgetmethod}})
(Noted the escape character is used in the texture path.)
Line 1: Line 1:
{{widgetmethod}}
{{widgetmethod}} __NOTOC__
{{stub/api}}


Important:
 
You have to use "\\" or "/" instead of "\" (since single backslash is the LUA escape character)
Sets the normal texture for a button.
Button:SetNormalTexture(texture or "texturePath")
 
 
== Arguments ==
:; texture : [[UIObject Texture|Texture]] - The texture to use
:; texturePath : String - The path to the texture
 
 
== Returns ==
:nil
 
 
== Details ==
: You have to use "\\" or "/" in the texture path instead of "\" (since single backslash is the LUA escape character)
Anonymous user