WoW:API Button SetNormalTexture: Difference between revisions

m
Move page script moved page API Button SetNormalTexture to WoW:API Button SetNormalTexture without leaving a redirect
(Noted the escape character is used in the texture path.)
m (Move page script moved page API Button SetNormalTexture to WoW:API Button SetNormalTexture without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 17: Line 17:
== Details ==
== Details ==
: You have to use "\\" or "/" in the texture path instead of "\" (since single backslash is the LUA escape character)
: You have to use "\\" or "/" in the texture path instead of "\" (since single backslash is the LUA escape character)
Although a texture object can be used as the argument, the texture will be ''re-parented'' to the button. Therefore, this function cannot be used to 'share' a texture between different widgets.
Anonymous user