WoW:API StatusBar SetStatusBarTexture: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
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

Revision as of 15:42, 27 June 2007

Widget API ← StatusBar < SetStatusBarTexture

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"])

Arguments

("file" or texture [, layer])
file
String - The path to the texture file
texture
Texture - The texture to use
layer
String (Layer) - The layer to use


Returns

nil