Widget API: StatusBar:SetStatusBarTexture

Revision as of 15:42, 27 June 2007 by WoWWiki>Ravas (Updated to match the current API boilerplate.)

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