Fixed some typos and punctuation.
(Typo fixing using AWB) |
(Fixed some typos and punctuation.) |
||
| Line 1: | Line 1: | ||
Frames are the building blocks of the visual components of the user interface. All of the various visual elements of the UI are types of Frame, and | Frames are the building blocks of the visual components of the user interface. All of the various visual elements of the UI are types of Frame, and inherit most if not all of the basic frame properties, in addition to adding some more. Frames are defined in the various <tt>.xml</tt> files in the <tt>Interface</tt> directory (except for the <tt>Bindings.xml</tt> files, which provide key bindings). | ||
== Events == | == Events == | ||
In addition to Frames being the things that you can see, Frames are also the things which UI and game events are delivered to. If you're writing code that needs to know about something, it will need a Frame | In addition to Frames being the things that you can see, Frames are also the things which UI and game events are delivered to. If you're writing code that needs to know about something, it will need a Frame (though not necessarily a visible one) to receive the event. There are many types of events, though often in AddOn development it refers to a [[API Events|Game Event]] rather than other UI events. | ||
A frame indicates its interest in events in a number of ways: | A frame indicates its interest in events in a number of ways: | ||