WoW:API StatusBar SetStatusBarTexture: Difference between revisions

Updated to match the current API boilerplate.
No edit summary
 
(Updated to match the current API boilerplate.)
Line 1: Line 1:
{{widgetmethod}}
{{widgetmethod}} __NOTOC__
{{stub/api}}


Sets the texture of the StatusBar object (which is used when filling the portion between the StatusBar's Minimum value and the Current value).
Sets the texture of the StatusBar object (which is used when filling the portion between the StatusBar's Minimum value and the Current value).
StatusBar:SetStatusBarTexture("file" or texture [, "layer"])


Seems to always return nil (unlike Texture:Settexture which returns nil only when the texture is missing).
== Arguments ==
:("file" or texture [, layer])
:; file : String - The path to the texture file
:; texture : [[UIOBJECT Texture|Texture]] - The texture to use
:; layer : String ([[Layer]]) - The layer to use
 
 
== Returns ==
:nil
Anonymous user