View Single Post
09-09-10, 03:33 AM   #8
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Jul 2005
Posts: 1,935
Originally Posted by v6o View Post
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
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."