Originally Posted by v6o
Even if it's not "new". Blizzard themselves have moved over to using
<OnEvent function="OnEventFunction"/>
which passes all arguments with it... basically the same as
<OnEvemt>OnEventFunction(...)</OnEvent>
|
This actually isn't the case, it's the same as:
Code:
<OnEvent>OnEventFunction(self, event, ...)</OnEvent>
If you ever have a question about precisely WHAT arguments are passed to which widget handler, including OnEvent, you can check the master list at
http://wowprogramming.com/docs/scripts