Widget/API/SetFile

__NOTOC__
Sets the file to use. In the case of textures, this sets the image file to use.
MyTexture:SetFile(filename);
== Parameters ==
=== Arguments ===
:;filename
::string - Name of file to use.
=== Returns ===
:;None
== Example ==
Texture:SetFile("interface/transportbook/tb_highlight-01");
== Notes ==
For textures, unlike the SetTexture method, SetFile does not affect the texture coordinates currently in effect.
== Related Pages ==
* Widget (Overview)
Category:Widget/API Category:Widget/Class/Texture