WoW:API Frame GetFrameStrata: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (Move page script moved page API Frame GetFrameStrata to API Frame GetFrameStrata without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
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.  Also, be aware of the special case return "UNKNOWN" returned for the WorldFrame object.
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.

Latest revision as of 04:45, 15 August 2023

Widget API ← Frame < GetFrameStrata

Returns the strata of the frame.

strata = MyFrame:GetFrameStrata();

Arguments[edit]

none

Returns[edit]

strata
FrameStrata - The strata name. Note: value "PARENT" will not be returned, instead it will be substituted with inherited strata level. Also, be aware of the special case return "UNKNOWN" returned for the WorldFrame object.