WoW:XML/LayoutFrame

From AddOn Studio
< XML
Revision as of 12:36, 17 September 2009 by WoWWiki>SinusPi (Created page with 'Elements: Size, Anchors ;name :[string] Defines the name of the element. This gets registered in the LUA global variables. Using the ''$parent'' tag…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Inheritance

Inherited by: <Frame>, <Texture>, <FontString>, <TitleRegion>

Elements

<Size>, <Anchors>, <Animations>

Attributes

name
(string) Defines the name of the element. This gets registered in the LUA global variables. Using the $parent tag here refers to the parent's name - or the parent's parent's name, if the parent is unnamed, or even further up.
inherits
(string) Instantiates the element using a virtual element as a template.
virtual
(boolean) Default is false. Defines the element as template, to be inherited from. The element itself is not created.
setAllPoints
(boolean) Default is false. Automatically anchors the TOPLEFT, TOPRIGHT, BOTTOMLEFT and BOTTOMRIGHT points to the parent.
hidden
(boolean) Default is false. Makes the element hidden by default.