WoW:API Frame GetFrameStrata: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{widgetmethod}}
{{widgetmethod}}


<center>'''GetFrameStrata''' ''-Documentation by [[user:Ruinna|Ruinna]]-''</center>
Returns the ''[[FrameStrata|strata]]'' of the frame.


== Synopsis ==
strata = MyFrame:GetFrameStrata();


string frameStrata = Frame:GetFrameStrata();
== Arguments ==
: ''none''


== Description ==
== Returns ==
 
:;strata : [[UITYPE FrameStrata|FrameStrata]] - The strata name. Note: value "PARENT" will not be returned, instead it will be substituted with inherited strata level.
Returns the ''frame strata'' of the frame. For more information see [[FrameStrata]].
 
== Return values ==
 
:;frameStrata : String - The strata name (e.g. "BACKGROUND"), or "UNKNOWN" if the frame's strata is not known. See [[FrameStrata]] for a list of valid strata names.

Revision as of 02:04, 27 September 2007

Widget API ← Frame < GetFrameStrata

Returns the strata of the frame.

strata = MyFrame:GetFrameStrata();

Arguments

none

Returns

strata
FrameStrata - The strata name. Note: value "PARENT" will not be returned, instead it will be substituted with inherited strata level.