WoW:API Frame GetFrameStrata: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
(Noted special case concerning the WorldFrame.)
Line 9: Line 9:


== Returns ==
== Returns ==
:;strata : [[UITYPE FrameStrata|FrameStrata]] - The strata name. Note: value "PARENT" will not be returned, instead it will be substituted with inherited strata level.
:;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.

Revision as of 02:03, 12 June 2008

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. Also, be aware of the special case return "UNKNOWN" returned for the WorldFrame object.