Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Help page
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
Help:Widget method articles
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{widgetmethod|WidgetName}} <!-- Describe the purpose of the function, exhausting detail can be saved for a later section --> One line summary description of function. <!-- List return values and arguments as well as function name, follow Blizzard usage convention for args --> isTrue, retVal1, retVal2 = WidgetName:func("arg1", arg2, ...) == Arguments == <!-- List each argument, together with its type --> :("arg1", arg2) :;arg1 : String - description :;arg2 : Table - description == Returns == <!-- List each return value, together with its type --> :isTrue, retVal1, retVal2 <!-- remove this line if it's just one value --> :;isTrue : Boolean - is it true :;retVal1 : String - is it true :;retVal2 : Number - is it true == Example == <!-- If it helps, include an example here, though it's not required if the usage is self-explanatory --> local a, b, c = WidgetName:func("hi", {1,2,3} ) ====Result==== <!-- If it helps, include example results here, though they are not required. You're allowed to cheat liberally since WoW isn't a command line language. --> a = "hi " b = "hi hi" c = "hi hi hi" == Details == : Does something particularly detailed. <!-- Details not appropriate for the main description can go here. DO NOT REMOVE this section. If you're just going to restate the intro line, then dont, leave it blank --> == See also == * [[UIOBJECT OtherRelatedWidget|OtherRelatedWidget]] <!-- REMOVE THIS SUGGESTIVE ITEM, BUT LEAVE THIS 'SEE ALSO' SECTION FOR FUTURE TRAVELERS. It is extremly important to place siginificant refrences outside this article here --> [[Category:Boilerplates|Widget Method]] <!-- REMOVE THIS CATEGORIZATION WHEN YOU USE THE BOILERPLATE TO CREATE A NEW PAGE! The widgetmethod template also takes care of widget categories -->
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Apinav
(
edit
)
Template:Editlink
(
edit
)
Template:Tocright
(
edit
)
Template:Widget
(
edit
)
Template:Widgetmethod
(
edit
)