WoW:Getting started with writing AddOns: Difference between revisions

no edit summary
(typo fix)
No edit summary
Line 47: Line 47:


=== XML Files ===
=== XML Files ===
XML files are used to specify what the visual style of your frames. More importantly though a frame allows you to easily pass events to your Lua files.  Check out [[XML User Interface]] for details. Here's a short example of one:
XML files are used to specify the visual style of your frames. More importantly though a frame allows you to easily pass events to your Lua files.  Check out [[XML User Interface]] for details. Here's a short example of an XML file:


  <Script file="MyAddon.lua"/>  
  <Script file="MyAddon.lua"/>  
Anonymous user