Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Register
mNo edit summary
m (catfix, Replaced: {{widgetmethod}}<br> → {{widgetmethod}})
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
  +
{{widgetmethod}}
  +
 
Set the level of this frame (determines which of overlapping frames shows on top). Higher numbers always show up on top of lower numbers.
 
Set the level of this frame (determines which of overlapping frames shows on top). Higher numbers always show up on top of lower numbers.
   
  +
See [[frameLevel]]. See also [[frameStrata]].
== Frame Levels -- by Apoco == These are the frame levels. The name in ( ) is what it would be called in the XML file.
 
 
=== Level: ===
 
*0 (BACKGROUND)
 
: Places it in the background of your frame:
 
Example:
 
frame:SetFrameLevel(0);
 
 
*1 (ARTWORK):
 
: Places it here the artwork of your frame.
 
Example:
 
frame:SetFrameLevel(1);
 
 
*2 (OVERLAY):
 
: Place here your text, objects and buttons in this level, this is the top level.
 
Example:
 
frame:SetFrameLevel(2);
 
 
[[Category:API Functions|Frame SetFrameLevel]]
 
[[Category:API Frame Functions|Frame SetFrameLevel]]
 

Revision as of 23:55, 14 July 2008

Set the level of this frame (determines which of overlapping frames shows on top). Higher numbers always show up on top of lower numbers.

See frameLevel. See also frameStrata.