Open main menu
Home
Random
Log in
Settings
About AddOn Studio
Disclaimers
AddOn Studio
Search
Editing
WoW:API Frame GetAttribute
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}} Returns the value of a specific attribute (or an attribute matching the prefix/suffix arguments). value = frame:GetAttribute(name); value = frame:GetAttribute(prefix, name, suffix); ==Arguments== ; prefix : String - modifier prefix string: a concatenation of alt-, ctrl-, and shift-, whichever apply, in that order. ; name : Attribute name. If passed as the only argument, this may be a fully qualified value; otherwise, it is the unmodified name of the attribute being retrieved. ; suffix : String - button suffix string: either a numeric string or a dash followed by an arbitrary button name. == Returns == ; value : Mixed - the value of the matching attribute; nil if no attribute matched the arguments. == Matching order == When invoked with three arguments, this function attempts to return attributes in the following order (returning the first attribute that exists): # prefix .. name .. suffix # "*" .. name .. suffix # prefix .. name .. "*" # "*" .. name .. "*" # name
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
)