XML elements

From Wowpedia
Jump to: navigation, search
For an overview of WoW's XML, see XML user interface and XML basics.

All this information is taken from default interface, and should be updated with patch changes. All non-default properties you know are working should be added here with a link to a source and name of element.

Widget elements have a hierarchical relationship between them. Some widget elements are derived from others, which means that they inherit the kind of attributes and property elements that are allowed for them. This inheritance also applies to the API functions available for that type of widget. In the XML files, wherever a widget element is expected, you may instead use a widget that is derived from that one. In the references, curly braces {} are used to indicate when such substitution is possible.

Hierarchy

Note: This hierarchy is not to be confused with the parent-child relationship of the actual widgets created in the XML files. It also shouldn't be confused with inheriting templates (or virtual elements).

This list shows the inheritance relationship of the widget elements:

Widgets

AnimationGroup

The AnimationGroup type doesn't create any visual effects by itself, but it does provide a GetElapsed method that isn't depend on UI. Used for timing.

Known Attributes:

  • name
    Source: DefaultUI - FrameXML\BNet.xml
    Element name: BNToastFrame>$parentAnimIn

Button

A button you can click with mouse.

Known Attributes:

  • name
    Source: DefaultUI - FrameXML\ActionBarFrame.xml
    Element name: ActionBarUpButton
  • parent
    Source: DefaultUI - FrameXML\ActionBarFrame.xml
    Element name: ActionBarUpButton
  • virtual
    Source: DefaultUI - FrameXML\ArenaFrame.xml
    Element name: ArenaButtonTemplate
  • inherits
    Source: DefaultUI - FrameXML\ArenaFrame.xml
    Element name: ArenaZone1
  • id
    Source: DefaultUI - FrameXML\ArenaFrame.xml
    Element name: ArenaZone1
  • text
    Source: DefaultUI - FrameXML\ArenaFrame.xml
    Element name: ArenaFrameCancelButton
  • hidden
    Source: DefaultUI - FrameXML\ArenaRegistrarFrame.xml
    Element name: ArenaRegistrarButton4
  • setallpoints
    Source: DefaultUI - FrameXML\ColorPickerFrame.xml
    Element name: OpacityFrameCloseButton
  • framestrata
    Source: DefaultUI - FrameXML\FloatingChatFrame.xml
    Element name: ChatTabTemplate
  • enablemouse
    Source: DefaultUI - FrameXML\LootFrame.xml
    Element name: $parentIconFrame
  • toplevel
    Source: DefaultUI - FrameXML\PartyFrame.xml
    Element name: PartyMemberFrame1
  • movable
    Source: DefaultUI - FrameXML\PartyFrameTemplates.xml
    Element name: PartyMemberFrameTemplate
  • enablekeyboard
    Source: DefaultUI - AddOns\Blizzard_BindingUI\Blizzard_BindingUI.xml
    Element name: KeyBindingFrame
  • clampedtoscreen
    Source: DefaultUI - AddOns\Blizzard_RaidUI\Blizzard_RaidUI.xml
    Element name: RaidGroupButtonTemplate

Known Tags:

  • size
    Source: DefaultUI - FrameXML\ActionBarFrame.xml
    Element name: ActionBarUpButton
  • anchors
    Source: DefaultUI - FrameXML\ActionBarFrame.xml
    Element name: ActionBarUpButton
  • hitrectinsets
    Source: DefaultUI - FrameXML\ActionBarFrame.xml
    Element name: ActionBarUpButton
  • scripts
    Source: DefaultUI - FrameXML\ActionBarFrame.xml
    Element name: ActionBarUpButton
  • normaltexture
    Source: DefaultUI - FrameXML\ActionBarFrame.xml
    Element name: ActionBarUpButton
  • pushedtexture
    Source: DefaultUI - FrameXML\ActionBarFrame.xml
    Element name: ActionBarUpButton
  • disabledtexture
    Source: DefaultUI - FrameXML\ActionBarFrame.xml
    Element name: ActionBarUpButton
  • highlighttexture
    Source: DefaultUI - FrameXML\ActionBarFrame.xml
    Element name: ActionBarUpButton
  • layers
    Source: DefaultUI - FrameXML\ArenaFrame.xml
    Element name: ArenaButtonTemplate
  • buttontext
    Source: DefaultUI - FrameXML\ArenaFrame.xml
    Element name: ArenaButtonTemplate
  • normalfont
    Source: DefaultUI - FrameXML\ArenaFrame.xml
    Element name: ArenaButtonTemplate
  • highlightfont
    Source: DefaultUI - FrameXML\ArenaFrame.xml
    Element name: ArenaButtonTemplate
  • frames
    Source: DefaultUI - FrameXML\BankFrame.xml
    Element name: BankItemButtonBagTemplate
  • disabledfont
    Source: DefaultUI - FrameXML\CharacterFrameTemplates.xml
    Element name: CharacterFrameTabButtonTemplate
  • pushedtextoffset
    Source: DefaultUI - FrameXML\FriendsFrame.xml
    Element name: GuildFrameGuildListToggleButton

CheckButton

Clicking adds or remove check mark. Commonly used for option panels.

Known Attributes:

  • name
    Source: DefaultUI - FrameXML\ActionBarFrame.xml
    Element name: ActionBarButtonTemplate
  • inherits
    Source: DefaultUI - FrameXML\ActionBarFrame.xml
    Element name: ActionBarButtonTemplate
  • virtual
    Source: DefaultUI - FrameXML\ActionBarFrame.xml
    Element name: ActionBarButtonTemplate
  • parent
    Source: DefaultUI - FrameXML\ActionBarFrame.xml
    Element name: ActionButton1
  • id
    Source: DefaultUI - FrameXML\ActionBarFrame.xml
    Element name: ActionButton1
  • hidden
    Source: DefaultUI - FrameXML\MailFrame.xml
    Element name: $parentButton
  • framestrata
    Source: DefaultUI - FrameXML\PetActionBarFrame.xml
    Element name: PetActionButtonTemplate
  • checked
    Source: DefaultUI - FrameXML\TutorialFrame.xml
    Element name: TutorialFrameCheckButton

Known Tags:

  • scripts
    Source: DefaultUI - FrameXML\ActionBarFrame.xml
    Element name: ActionBarButtonTemplate
  • anchors
    Source: DefaultUI - FrameXML\ActionBarFrame.xml
    Element name: ActionButton1
  • size
    Source: DefaultUI - FrameXML\ActionButtonTemplate.xml
    Element name: ActionButtonTemplate
  • layers
    Source: DefaultUI - FrameXML\ActionButtonTemplate.xml
    Element name: ActionButtonTemplate
  • frames
    Source: DefaultUI - FrameXML\ActionButtonTemplate.xml
    Element name: ActionButtonTemplate
  • normaltexture
    Source: DefaultUI - FrameXML\ActionButtonTemplate.xml
    Element name: ActionButtonTemplate
  • pushedtexture
    Source: DefaultUI - FrameXML\ActionButtonTemplate.xml
    Element name: ActionButtonTemplate
  • highlighttexture
    Source: DefaultUI - FrameXML\ActionButtonTemplate.xml
    Element name: ActionButtonTemplate
  • checkedtexture
    Source: DefaultUI - FrameXML\ActionButtonTemplate.xml
    Element name: ActionButtonTemplate
  • disabledcheckedtexture
    Source: DefaultUI - FrameXML\FriendsFrame.xml
    Element name: GuildControlPopupFrameCheckboxTemplate
  • hitrectinsets
    Source: DefaultUI - FrameXML\OptionsFrameTemplates.xml
    Element name: OptionsCheckButtonTemplate

ColorSelect

Allows the user to choose a color. Commonly used for customizing the appearance of a UI element.

Known Attributes:

  • name
    Source: DefaultUI - FrameXML\ColorPickerFrame.xml
    Element name: ColorPickerFrame
  • toplevel
    Source: DefaultUI - FrameXML\ColorPickerFrame.xml
    Element name: ColorPickerFrame
  • parent
    Source: DefaultUI - FrameXML\ColorPickerFrame.xml
    Element name: ColorPickerFrame
  • movable
    Source: DefaultUI - FrameXML\ColorPickerFrame.xml
    Element name: ColorPickerFrame
  • enablemouse
    Source: DefaultUI - FrameXML\ColorPickerFrame.xml
    Element name: ColorPickerFrame
  • enablekeyboard
    Source: DefaultUI - FrameXML\ColorPickerFrame.xml
    Element name: ColorPickerFrame
  • hidden
    Source: DefaultUI - FrameXML\ColorPickerFrame.xml
    Element name: ColorPickerFrame

Known Tags:

  • size
    Source: DefaultUI - FrameXML\ColorPickerFrame.xml
    Element name: ColorPickerFrame
  • anchors
    Source: DefaultUI - FrameXML\ColorPickerFrame.xml
    Element name: ColorPickerFrame
  • backdrop
    Source: DefaultUI - FrameXML\ColorPickerFrame.xml
    Element name: ColorPickerFrame
  • layers
    Source: DefaultUI - FrameXML\ColorPickerFrame.xml
    Element name: ColorPickerFrame
  • frames
    Source: DefaultUI - FrameXML\ColorPickerFrame.xml
    Element name: ColorPickerFrame
  • scripts
    Source: DefaultUI - FrameXML\ColorPickerFrame.xml
    Element name: ColorPickerFrame
  • colorwheeltexture
    Source: DefaultUI - FrameXML\ColorPickerFrame.xml
    Element name: ColorPickerFrame
  • colorwheelthumbtexture
    Source: DefaultUI - FrameXML\ColorPickerFrame.xml
    Element name: ColorPickerFrame
  • colorvaluetexture
    Source: DefaultUI - FrameXML\ColorPickerFrame.xml
    Element name: ColorPickerFrame
  • colorvaluethumbtexture
    Source: DefaultUI - FrameXML\ColorPickerFrame.xml
    Element name: ColorPickerFrame

Cooldown

Used for spell and action buttons to show its cooldown state.

Known Attributes:

  • name
    Source: DefaultUI - FrameXML\ActionButtonTemplate.xml
    Element name: $parentCooldown
  • inherits
    Source: DefaultUI - FrameXML\ActionButtonTemplate.xml
    Element name: $parentCooldown
  • setallpoints
    Source: DefaultUI - FrameXML\Cooldown.xml
    Element name: CooldownFrameTemplate
  • hidden
    Source: DefaultUI - FrameXML\Cooldown.xml
    Element name: CooldownFrameTemplate
  • virtual
    Source: DefaultUI - FrameXML\Cooldown.xml
    Element name: CooldownFrameTemplate
  • reverse
    Source: DefaultUI - FrameXML\TargetFrame.xml
    Element name: $parentCooldown

Known Tags:

  • size
    Source: DefaultUI - FrameXML\ActionButtonTemplate.xml
    Element name: $parentCooldown
  • anchors
    Source: DefaultUI - FrameXML\ActionButtonTemplate.xml
    Element name: $parentCooldown

dressupmodel

Needs more testing. Used for checking how some linked item will look on character.

Known Attributes:

  • name
    Source: DefaultUI - FrameXML\DressUpFrame.xml
    Element name: DressUpModel
  • scale
    Source: DefaultUI - FrameXML\DressUpFrame.xml
    Element name: DressUpModel

Known Tags:

  • size
    Source: DefaultUI - FrameXML\DressUpFrame.xml
    Element name: DressUpModel
  • anchors
    Source: DefaultUI - FrameXML\DressUpFrame.xml
    Element name: DressUpModel
  • scripts
    Source: DefaultUI - FrameXML\DressUpFrame.xml
    Element name: DressUpModel
  • frames
    Source: DefaultUI - FrameXML\DressUpFrame.xml
    Element name: DressUpModel

editbox

Used to type in any kind of text.

Known Attributes:

  • name
    Source: DefaultUI - FrameXML\ArenaRegistrarFrame.xml
    Element name: ArenaRegistrarFrameEditBox
  • letters
    Source: DefaultUI - FrameXML\ArenaRegistrarFrame.xml
    Element name: ArenaRegistrarFrameEditBox
  • historylines
    Source: DefaultUI - FrameXML\ArenaRegistrarFrame.xml
    Element name: ArenaRegistrarFrameEditBox
  • ignorearrows
    Source: DefaultUI - FrameXML\ChatFrame.xml
    Element name: ChatFrameEditBoxTemplate
  • framestrata
    Source: DefaultUI - FrameXML\ChatFrame.xml
    Element name: ChatFrameEditBoxTemplate
  • toplevel
    Source: DefaultUI - FrameXML\ChatFrame.xml
    Element name: ChatFrameEditBoxTemplate
  • hidden
    Source: DefaultUI - FrameXML\ChatFrame.xml
    Element name: ChatFrameEditBoxTemplate
  • virtual
    Source: DefaultUI - FrameXML\ChatFrame.xml
    Element name: ChatFrameEditBoxTemplate
  • inherits
    Source: DefaultUI - FrameXML\FloatingChatFrame.xml
    Element name: ChatFrameEditBox
  • parent
    Source: DefaultUI - FrameXML\FloatingChatFrame.xml
    Element name: ChatFrameEditBox
  • autofocus
    Source: DefaultUI - FrameXML\FriendsFrame.xml
    Element name: WhoFrameEditBox
  • multiline
    Source: DefaultUI - FrameXML\FriendsFrame.xml
    Element name: GuildInfoEditBox
  • enablemouse
    Source: DefaultUI - FrameXML\MailFrame.xml
    Element name: SendMailBodyEditBox
  • numeric
    Source: DefaultUI - FrameXML\MoneyInputFrame.xml
    Element name: $parentGold

Known Tags:

  • size
    Source: DefaultUI - FrameXML\ArenaRegistrarFrame.xml
    Element name: ArenaRegistrarFrameEditBox
  • anchors
    Source: DefaultUI - FrameXML\ArenaRegistrarFrame.xml
    Element name: ArenaRegistrarFrameEditBox
  • layers
    Source: DefaultUI - FrameXML\ArenaRegistrarFrame.xml
    Element name: ArenaRegistrarFrameEditBox
  • scripts
    Source: DefaultUI - FrameXML\ArenaRegistrarFrame.xml
    Element name: ArenaRegistrarFrameEditBox
  • fontstring
    Source: DefaultUI - FrameXML\ArenaRegistrarFrame.xml
    Element name: ArenaRegistrarFrameEditBox
  • frames
    Source: DefaultUI - FrameXML\ChatFrame.xml
    Element name: ChatFrameEditBoxTemplate

fontstring

This one show a text you cannot edit.

Known Attributes:

  • name
    Source: DefaultUI - FrameXML\ActionButtonTemplate.xml
    Element name: $parentHotKey
  • inherits
    Source: DefaultUI - FrameXML\ActionButtonTemplate.xml
    Element name: $parentHotKey
  • justifyh
    Source: DefaultUI - FrameXML\ActionButtonTemplate.xml
    Element name: $parentHotKey
  • text
    Source: DefaultUI - FrameXML\ArenaFrame.xml
    Element name: $parentFrameLabel
  • justifyv
    Source: DefaultUI - FrameXML\ArenaFrame.xml
    Element name: $parentZoneDescription
  • hidden
    Source: DefaultUI - FrameXML\ArenaRegistrarFrame.xml
    Element name: RegistrationText
  • nonspacewrap
    Source: DefaultUI - FrameXML\BasicControls.xml
    Element name: ScriptErrors_Message
  • bytes
    Source: DefaultUI - FrameXML\ChatFrame.xml
    Element name:
  • virtual
    Source: DefaultUI - FrameXML\QuestLogFrame.xml
    Element name: QuestWatchFontTemplate
  • maxlines
    Source: DefaultUI - FrameXML\SpellBookFrame.xml
    Element name: $parentSpellName

Known Tags:

  • size
    Source: DefaultUI - FrameXML\ActionButtonTemplate.xml
    Element name: $parentHotKey
  • anchors
    Source: DefaultUI - FrameXML\ActionButtonTemplate.xml
    Element name: $parentHotKey
  • color
    Source: DefaultUI - FrameXML\CharacterFrame.xml
    Element name: CharacterNameText
  • fontheight
    Source: DefaultUI - FrameXML\ZoneText.xml
    Element name: AutoFollowStatusText

frame

It's just a clean window to put any kind of widgets inside.

Known Attributes:

  • name
    Source: DefaultUI - FrameXML\ArenaFrame.xml
    Element name: ArenaFrame
  • toplevel
    Source: DefaultUI - FrameXML\ArenaFrame.xml
    Element name: ArenaFrame
  • movable
    Source: DefaultUI - FrameXML\ArenaFrame.xml
    Element name: ArenaFrame
  • parent
    Source: DefaultUI - FrameXML\ArenaFrame.xml
    Element name: ArenaFrame
  • enablemouse
    Source: DefaultUI - FrameXML\ArenaFrame.xml
    Element name: ArenaFrame
  • hidden
    Source: DefaultUI - FrameXML\ArenaFrame.xml
    Element name: ArenaFrame
  • virtual
    Source: DefaultUI - FrameXML\ArenaRegistrarFrame.xml
    Element name: PVPBannerFrameCustomizeTemplate
  • setallpoints
    Source: DefaultUI - FrameXML\ArenaRegistrarFrame.xml
    Element name: ArenaRegistrarGreetingFrame
  • inherits
    Source: DefaultUI - FrameXML\ArenaRegistrarFrame.xml
    Element name: ArenaRegistrarMoneyFrame
  • id
    Source: DefaultUI - FrameXML\ArenaRegistrarFrame.xml
    Element name: PVPBannerFrameCustomization1
  • framestrata
    Source: DefaultUI - FrameXML\BasicControls.xml
    Element name: DialogBoxFrame
  • enablekeyboard
    Source: DefaultUI - FrameXML\CinematicFrame.xml
    Element name: CinematicFrame
  • alpha
    Source: DefaultUI - FrameXML\ComboFrame.xml
    Element name: ComboFrame
  • clampedtoscreen
    Source: DefaultUI - FrameXML\LootFrame.xml
    Element name: LootFrame
  • protected
    Source: DefaultUI - FrameXML\SecureTemplates.xml
    Element name: SecureFrameTemplate

Known Tags:

  • size
    Source: DefaultUI - FrameXML\ArenaFrame.xml
    Element name: ArenaFrame
  • anchors
    Source: DefaultUI - FrameXML\ArenaFrame.xml
    Element name: ArenaFrame
  • hitrectinsets
    Source: DefaultUI - FrameXML\ArenaFrame.xml
    Element name: ArenaFrame
  • layers
    Source: DefaultUI - FrameXML\ArenaFrame.xml
    Element name: ArenaFrame
  • frames
    Source: DefaultUI - FrameXML\ArenaFrame.xml
    Element name: ArenaFrame
  • scripts
    Source: DefaultUI - FrameXML\ArenaFrame.xml
    Element name: ArenaFrame
  • backdrop
    Source: DefaultUI - FrameXML\BasicControls.xml
    Element name: DialogBoxFrame
  • titleregion
    Source: DefaultUI - FrameXML\LootFrame.xml
    Element name: LootFrame
  • attributes
    Source: DefaultUI - FrameXML\SecureTemplates.xml
    Element name: SecurePartyHeaderTemplate

GameTooltip

Displays a frame at the position of the cursor, whose contents typically depend on what is being moused over.

Known Attributes:

  • name
    Source: DefaultUI - FrameXML\GameTooltip.xml
    Element name: GameTooltip
  • framestrata
    Source: DefaultUI - FrameXML\GameTooltip.xml
    Element name: GameTooltip
  • hidden
    Source: DefaultUI - FrameXML\GameTooltip.xml
    Element name: GameTooltip
  • parent
    Source: DefaultUI - FrameXML\GameTooltip.xml
    Element name: GameTooltip
  • inherits
    Source: DefaultUI - FrameXML\GameTooltip.xml
    Element name: GameTooltip
  • clampedtoscreen
    Source: DefaultUI - FrameXML\GameTooltipTemplate.xml
    Element name: GameTooltipTemplate
  • virtual
    Source: DefaultUI - FrameXML\GameTooltipTemplate.xml
    Element name: GameTooltipTemplate
  • enablemouse
    Source: DefaultUI - FrameXML\ItemRef.xml
    Element name: ItemRefTooltip
  • toplevel
    Source: DefaultUI - FrameXML\ItemRef.xml
    Element name: ItemRefTooltip
  • movable
    Source: DefaultUI - FrameXML\ItemRef.xml
    Element name: ItemRefTooltip
  • setallpoints
    Source: DefaultUI - AddOns\Blizzard_ItemSocketingUI\Blizzard_ItemSocketingUI.xml
    Element name: ItemSocketingDescription

Known Tags:

  • scripts
    Source: DefaultUI - FrameXML\GameTooltip.xml
    Element name: GameTooltip
  • backdrop
    Source: DefaultUI - FrameXML\GameTooltipTemplate.xml
    Element name: GameTooltipTemplate
  • layers
    Source: DefaultUI - FrameXML\GameTooltipTemplate.xml
    Element name: GameTooltipTemplate
  • frames
    Source: DefaultUI - FrameXML\GameTooltipTemplate.xml
    Element name: GameTooltipTemplate
  • size
    Source: DefaultUI - FrameXML\ItemRef.xml
    Element name: ItemRefTooltip
  • anchors
    Source: DefaultUI - FrameXML\ItemRef.xml
    Element name: ItemRefTooltip

MessageFrame

A window like a frame, but for storing messages.

Known Attributes:

  • name
    Source: DefaultUI - FrameXML\RaidWarning.xml
    Element name: RaidWarningFrame
  • insertmode
    Source: DefaultUI - FrameXML\RaidWarning.xml
    Element name: RaidWarningFrame
  • parent
    Source: DefaultUI - FrameXML\RaidWarning.xml
    Element name: RaidWarningFrame
  • framestrata
    Source: DefaultUI - FrameXML\RaidWarning.xml
    Element name: RaidWarningFrame
  • toplevel
    Source: DefaultUI - FrameXML\RaidWarning.xml
    Element name: RaidWarningFrame
  • displayduration
    Source: DefaultUI - FrameXML\UIErrorsFrame.xml
    Element name: UIErrorsFrame

Known Tags:

  • size
    Source: DefaultUI - FrameXML\RaidWarning.xml
    Element name: RaidWarningFrame
  • anchors
    Source: DefaultUI - FrameXML\RaidWarning.xml
    Element name: RaidWarningFrame
  • scripts
    Source: DefaultUI - FrameXML\RaidWarning.xml
    Element name: RaidWarningFrame
  • fontstring
    Source: DefaultUI - FrameXML\RaidWarning.xml
    Element name: RaidWarningFrame

Minimap

This is specific element for a radar showing you detailed map with units/resources on it

Known Attributes:

  • name
    Source: DefaultUI - FrameXML\Minimap.xml
    Element name: Minimap
  • enablemouse
    Source: DefaultUI - FrameXML\Minimap.xml
    Element name: Minimap
  • minimapplayermodel
    Source: DefaultUI - FrameXML\Minimap.xml
    Element name: Minimap
  • minimaparrowmodel
    Source: DefaultUI - FrameXML\Minimap.xml
    Element name: Minimap

Known Tags:

  • size
    Source: DefaultUI - FrameXML\Minimap.xml
    Element name: Minimap
  • anchors
    Source: DefaultUI - FrameXML\Minimap.xml
    Element name: Minimap
  • frames
    Source: DefaultUI - FrameXML\Minimap.xml
    Element name: Minimap
  • scripts
    Source: DefaultUI - FrameXML\Minimap.xml
    Element name: Minimap

Model

Displays a 3D model.

Known Attributes:

  • name
    Source: DefaultUI - FrameXML\MainMenuBarBagButtons.xml
    Element name: ItemAnimTemplate
  • file
    Source: DefaultUI - FrameXML\MainMenuBarBagButtons.xml
    Element name: ItemAnimTemplate
  • hidden
    Source: DefaultUI - FrameXML\MainMenuBarBagButtons.xml
    Element name: ItemAnimTemplate
  • virtual
    Source: DefaultUI - FrameXML\MainMenuBarBagButtons.xml
    Element name: ItemAnimTemplate
  • inherits
    Source: DefaultUI - FrameXML\MainMenuBarBagButtons.xml
    Element name: $parentItemAnim
  • scale
    Source: DefaultUI - FrameXML\Minimap.xml
    Element name: MiniMapPing
  • alpha
    Source: DefaultUI - FrameXML\Minimap.xml
    Element name: MiniMapCompassRing
  • setallpoints
    Source: DefaultUI - FrameXML\PetActionBarFrame.xml
    Element name: $parentAutoCast

Known Tags:

  • scripts
    Source: DefaultUI - FrameXML\MainMenuBarBagButtons.xml
    Element name: ItemAnimTemplate
  • anchors
    Source: DefaultUI - FrameXML\MainMenuBarBagButtons.xml
    Element name: $parentItemAnim
  • size
    Source: DefaultUI - FrameXML\Minimap.xml
    Element name: MiniMapPing

PlayerModel

Displays a 3D model of a player character. The model can preview items.

Known Attributes:

  • name
    Source: DefaultUI - FrameXML\PaperDollFrame.xml
    Element name: CharacterModelFrame

Known Tags:

  • size
    Source: DefaultUI - FrameXML\PaperDollFrame.xml
    Element name: CharacterModelFrame
  • anchors
    Source: DefaultUI - FrameXML\PaperDollFrame.xml
    Element name: CharacterModelFrame
  • scripts
    Source: DefaultUI - FrameXML\PaperDollFrame.xml
    Element name: CharacterModelFrame
  • frames
    Source: DefaultUI - FrameXML\PaperDollFrame.xml
    Element name: CharacterModelFrame

ScrollFrame

Window that allows to scroll in up/down to show more info.

Known Attributes:

  • name
    Source: DefaultUI - FrameXML\BattlefieldFrame.xml
    Element name: BattlefieldListScrollFrame
  • inherits
    Source: DefaultUI - FrameXML\BattlefieldFrame.xml
    Element name: BattlefieldListScrollFrame
  • virtual
    Source: DefaultUI - FrameXML\ClassTrainerFrameTemplates.xml
    Element name: ClassTrainerDetailScrollFrameTemplate
  • hidden
    Source: DefaultUI - FrameXML\KnowledgeBaseFrame.xml
    Element name: KnowledgeBaseArticleScrollFrame

Known Tags:

  • size
    Source: DefaultUI - FrameXML\BattlefieldFrame.xml
    Element name: BattlefieldListScrollFrame
  • anchors
    Source: DefaultUI - FrameXML\BattlefieldFrame.xml
    Element name: BattlefieldListScrollFrame
  • layers
    Source: DefaultUI - FrameXML\BattlefieldFrame.xml
    Element name: BattlefieldListScrollFrame
  • scripts
    Source: DefaultUI - FrameXML\BattlefieldFrame.xml
    Element name: BattlefieldListScrollFrame
  • scrollchild
    Source: DefaultUI - FrameXML\FriendsFrame.xml
    Element name: GuildInfoFrameScrollFrame
  • frames
    Source: DefaultUI - FrameXML\UIPanelTemplates.xml
    Element name: UIPanelScrollFrameTemplate

ScrollingMessageFrame

Same as ScrollFrame but for messages only.

Known Attributes:

  • name
    Source: DefaultUI - FrameXML\ChatFrame.xml
    Element name: ChatFrameTemplate
  • framestrata
    Source: DefaultUI - FrameXML\ChatFrame.xml
    Element name: ChatFrameTemplate
  • toplevel
    Source: DefaultUI - FrameXML\ChatFrame.xml
    Element name: ChatFrameTemplate
  • displayduration
    Source: DefaultUI - FrameXML\ChatFrame.xml
    Element name: ChatFrameTemplate
  • maxlines
    Source: DefaultUI - FrameXML\ChatFrame.xml
    Element name: ChatFrameTemplate
  • hidden
    Source: DefaultUI - FrameXML\ChatFrame.xml
    Element name: ChatFrameTemplate
  • virtual
    Source: DefaultUI - FrameXML\ChatFrame.xml
    Element name: ChatFrameTemplate
  • movable
    Source: DefaultUI - FrameXML\FloatingChatFrame.xml
    Element name: FloatingChatFrameTemplate
  • enablemouse
    Source: DefaultUI - FrameXML\FloatingChatFrame.xml
    Element name: FloatingChatFrameTemplate
  • resizable
    Source: DefaultUI - FrameXML\FloatingChatFrame.xml
    Element name: FloatingChatFrameTemplate
  • inherits
    Source: DefaultUI - FrameXML\FloatingChatFrame.xml
    Element name: FloatingChatFrameTemplate
  • parent
    Source: DefaultUI - FrameXML\FloatingChatFrame.xml
    Element name: FloatingChatFrameTemplate
  • id
    Source: DefaultUI - FrameXML\FloatingChatFrame.xml
    Element name: ChatFrame1

Known Tags:

  • scripts
    Source: DefaultUI - FrameXML\ChatFrame.xml
    Element name: ChatFrameTemplate
  • fontstring
    Source: DefaultUI - FrameXML\ChatFrame.xml
    Element name: ChatFrameTemplate
  • size
    Source: DefaultUI - FrameXML\FloatingChatFrame.xml
    Element name: FloatingChatFrameTemplate
  • anchors
    Source: DefaultUI - FrameXML\FloatingChatFrame.xml
    Element name: FloatingChatFrameTemplate
  • titleregion
    Source: DefaultUI - FrameXML\FloatingChatFrame.xml
    Element name: FloatingChatFrameTemplate
  • resizebounds
    Source: DefaultUI - FrameXML\FloatingChatFrame.xml
    Element name: FloatingChatFrameTemplate
  • layers
    Source: DefaultUI - FrameXML\FloatingChatFrame.xml
    Element name: FloatingChatFrameTemplate
  • frames
    Source: DefaultUI - FrameXML\FloatingChatFrame.xml
    Element name: FloatingChatFrameTemplate

SimpleHTML

Shows up a window with content organized as in html file. Still only some common tags of html are supported, so it's impossible to load html pages inside it.

Known Attributes:

  • name
    Source: DefaultUI - FrameXML\ItemTextFrame.xml
    Element name: ItemTextPageText

Known Tags:

  • size
    Source: DefaultUI - FrameXML\ItemTextFrame.xml
    Element name: ItemTextPageText
  • anchors
    Source: DefaultUI - FrameXML\ItemTextFrame.xml
    Element name: ItemTextPageText
  • fontstring
    Source: DefaultUI - FrameXML\ItemTextFrame.xml
    Element name: ItemTextPageText

Slider

A scroll bar for scrolling elements.

Known Attributes:

  • name
    Source: DefaultUI - FrameXML\ColorPickerFrame.xml
    Element name: OpacitySliderFrame
  • orientation
    Source: DefaultUI - FrameXML\ColorPickerFrame.xml
    Element name: OpacitySliderFrame
  • minvalue
    Source: DefaultUI - FrameXML\ColorPickerFrame.xml
    Element name: OpacitySliderFrame
  • maxvalue
    Source: DefaultUI - FrameXML\ColorPickerFrame.xml
    Element name: OpacitySliderFrame
  • valuestep
    Source: DefaultUI - FrameXML\ColorPickerFrame.xml
    Element name: OpacitySliderFrame
  • defaultvalue
    Source: DefaultUI - FrameXML\ColorPickerFrame.xml
    Element name: OpacitySliderFrame
  • inherits
    Source: DefaultUI - FrameXML\OptionsFrame.xml
    Element name: OptionsFrameSlider1
  • virtual
    Source: DefaultUI - FrameXML\OptionsFrameTemplates.xml
    Element name: OptionsSliderTemplate
  • enablemouse
    Source: DefaultUI - FrameXML\OptionsFrameTemplates.xml
    Element name: OptionsSliderTemplate
  • id
    Source: DefaultUI - FrameXML\SoundOptionsFrame.xml
    Element name: SoundOptionsFrameSlider1

Known Tags:

  • size
    Source: DefaultUI - FrameXML\ColorPickerFrame.xml
    Element name: OpacitySliderFrame
  • anchors
    Source: DefaultUI - FrameXML\ColorPickerFrame.xml
    Element name: OpacitySliderFrame
  • backdrop
    Source: DefaultUI - FrameXML\ColorPickerFrame.xml
    Element name: OpacitySliderFrame
  • layers
    Source: DefaultUI - FrameXML\ColorPickerFrame.xml
    Element name: OpacitySliderFrame
  • scripts
    Source: DefaultUI - FrameXML\ColorPickerFrame.xml
    Element name: OpacitySliderFrame
  • thumbtexture
    Source: DefaultUI - FrameXML\ColorPickerFrame.xml
    Element name: OpacitySliderFrame
  • hitrectinsets
    Source: DefaultUI - FrameXML\OptionsFrameTemplates.xml
    Element name: OptionsSliderTemplate
  • frames
    Source: DefaultUI - FrameXML\UIPanelTemplates.xml
    Element name: UIPanelScrollBarTemplate

StatusBar

Needs more testing. Used in casing bar.

Known Attributes:

  • name
    Source: DefaultUI - FrameXML\CastingBarFrame.xml
    Element name: CastingBarFrameTemplate
  • drawlayer
    Source: DefaultUI - FrameXML\CastingBarFrame.xml
    Element name: CastingBarFrameTemplate
  • virtual
    Source: DefaultUI - FrameXML\CastingBarFrame.xml
    Element name: CastingBarFrameTemplate
  • toplevel
    Source: DefaultUI - FrameXML\CastingBarFrame.xml
    Element name: CastingBarFrame
  • parent
    Source: DefaultUI - FrameXML\CastingBarFrame.xml
    Element name: CastingBarFrame
  • hidden
    Source: DefaultUI - FrameXML\CastingBarFrame.xml
    Element name: CastingBarFrame
  • inherits
    Source: DefaultUI - FrameXML\CastingBarFrame.xml
    Element name: CastingBarFrame
  • minvalue
    Source: DefaultUI - FrameXML\HonorFrame.xml
    Element name: HonorFrameProgressBar
  • maxvalue
    Source: DefaultUI - FrameXML\HonorFrame.xml
    Element name: HonorFrameProgressBar
  • defaultvalue
    Source: DefaultUI - FrameXML\HonorFrame.xml
    Element name: HonorFrameProgressBar
  • id
    Source: DefaultUI - FrameXML\SkillFrame.xml
    Element name: SkillRankFrame1
  • enablemouse
    Source: DefaultUI - AddOns\Blizzard_RaidUI\Blizzard_RaidUI.xml
    Element name: $parentHealthBar

Known Tags:

  • layers
    Source: DefaultUI - FrameXML\CastingBarFrame.xml
    Element name: CastingBarFrameTemplate
  • scripts
    Source: DefaultUI - FrameXML\CastingBarFrame.xml
    Element name: CastingBarFrameTemplate
  • bartexture
    Source: DefaultUI - FrameXML\CastingBarFrame.xml
    Element name: CastingBarFrameTemplate
  • barcolor
    Source: DefaultUI - FrameXML\CastingBarFrame.xml
    Element name: CastingBarFrameTemplate
  • size
    Source: DefaultUI - FrameXML\CastingBarFrame.xml
    Element name: CastingBarFrame
  • anchors
    Source: DefaultUI - FrameXML\CastingBarFrame.xml
    Element name: CastingBarFrame
  • frames
    Source: DefaultUI - FrameXML\HonorFrame.xml
    Element name: HonorFrameProgressBar
  • hitrectinsets
    Source: DefaultUI - FrameXML\ReputationFrame.xml
    Element name: ReputationBarTemplate

TabardModel

Displays tabard.

Known Attributes:

  • name
    Source: DefaultUI - FrameXML\TabardFrame.xml
    Element name: TabardModel

Known Tags:

  • size
    Source: DefaultUI - FrameXML\TabardFrame.xml
    Element name: TabardModel
  • anchors
    Source: DefaultUI - FrameXML\TabardFrame.xml
    Element name: TabardModel
  • frames
    Source: DefaultUI - FrameXML\TabardFrame.xml
    Element name: TabardModel
  • scripts
    Source: DefaultUI - FrameXML\TabardFrame.xml
    Element name: TabardModel

TaxiRouteFrame

Shows a frame with the current continent's flight routes.

Known Attributes:

  • name
    Source: DefaultUI - FrameXML\TaxiFrame.xml
    Element name: TaxiRouteMap

Known Tags:

  • size
    Source: DefaultUI - FrameXML\TaxiFrame.xml
    Element name: TaxiRouteMap
  • anchors
    Source: DefaultUI - FrameXML\TaxiFrame.xml
    Element name: TaxiRouteMap

WorldFrame

Defined in default interface and contains all graphics information. Any addon placed inside this one will be always visible.

Known Attributes:

  • name
    Source: DefaultUI - FrameXML\WorldFrame.xml
    Element name: WorldFrame
  • movable
    Source: DefaultUI - FrameXML\WorldFrame.xml
    Element name: WorldFrame
  • resizable
    Source: DefaultUI - FrameXML\WorldFrame.xml
    Element name: WorldFrame
  • setallpoints
    Source: DefaultUI - FrameXML\WorldFrame.xml
    Element name: WorldFrame

Known Tags:

  • layers
    Source: DefaultUI - FrameXML\WorldFrame.xml
    Element name: WorldFrame
  • frames
    Source: DefaultUI - FrameXML\WorldFrame.xml
    Element name: WorldFrame
  • scripts
    Source: DefaultUI - FrameXML\WorldFrame.xml
    Element name: WorldFrame

UIParent

This is ordinary frame named "UIParent". Special about it is that every addon you use loaded by default inside it (if parent attribute not defined). Also it's important that when you toggle addons visibility to take screenshot this frame becomes hidden, so any of its content not drawn. If you put your addon outside of this frame to for example worldframe your addon will be visible always.

NonWidgets

include

This tag contains only one attribute file, witch refers to another scheme (.xml) file that needs to be loaded.

script

This tag can have attribute tag file witch refers to a script (.lua) file to be loaded. Other way script just putted inside tag as a plain text.

Font

Used for defining fonts used in any other elements.

Known Attributes:

  • name
    Source: DefaultUI - FrameXML\Fonts.xml
    Element name: MasterFont
  • virtual
    Source: DefaultUI - FrameXML\Fonts.xml
    Element name: MasterFont
  • inherits
    Source: DefaultUI - FrameXML\Fonts.xml
    Element name: SystemFont
  • font
    Source: DefaultUI - FrameXML\Fonts.xml
    Element name: SystemFont
  • outline
    Source: DefaultUI - FrameXML\Fonts.xml
    Element name: NumberFontNormal
  • monochrome
    Source: DefaultUI - FrameXML\Fonts.xml
    Element name: NumberFontNormalSmall
  • justifyh
    Source: DefaultUI - FrameXML\Fonts.xml
    Element name: ItemTextFontNormal

Known Tags:

  • shadow
    Source: DefaultUI - FrameXML\Fonts.xml
    Element name: MasterFont
  • fontheight
    Source: DefaultUI - FrameXML\Fonts.xml
    Element name: SystemFont
  • color
    Source: DefaultUI - FrameXML\Fonts.xml
    Element name: SystemFont


Texture

Stores path for graphic file used for drawing elements.

Known Attributes:

  • name
    Source: DefaultUI - FrameXML\ActionButtonTemplate.xml
    Element name: $parentIcon
  • file
    Source: DefaultUI - FrameXML\ActionButtonTemplate.xml
    Element name: $parentFlash
  • hidden
    Source: DefaultUI - FrameXML\ActionButtonTemplate.xml
    Element name: $parentFlash
  • alphamode
    Source: DefaultUI - FrameXML\ActionButtonTemplate.xml
    Element name: $parentBorder
  • setallpoints
    Source: DefaultUI - FrameXML\BankFrame.xml
    Element name: $parentTexture
  • virtual
    Source: DefaultUI - FrameXML\BasicControls.xml
    Element name: DialogButtonNormalTexture
  • inherits
    Source: DefaultUI - AddOns\Blizzard_TalentUI\Blizzard_TalentUI.xml
    Element name: TalentFrameBranch1

Known Tags:

  • size
    Source: DefaultUI - FrameXML\ActionButtonTemplate.xml
    Element name: $parentBorder
  • anchors
    Source: DefaultUI - FrameXML\ActionButtonTemplate.xml
    Element name: $parentBorder
  • texcoords
    Source: DefaultUI - FrameXML\ArenaRegistrarFrame.xml
    Element name: $parentMiddle
  • color
    Source: DefaultUI - FrameXML\CastingBarFrame.xml
    Element name: