WoW:API StatusBar SetStatusBarTexture: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (Move page script moved page API StatusBar SetStatusBarTexture to API StatusBar SetStatusBarTexture without leaving a redirect)
 
(One intermediate revision by one other user not shown)
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

Latest revision as of 04:47, 15 August 2023

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[edit]

("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[edit]

nil