View Single Post
08-26-14, 08:53 AM   #23
Sharparam
A Flamescale Wyrmkin
 
Sharparam's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2011
Posts: 102
Well you'd be right that SetScript isn't a good name for a method that appends functions to a table I guess. Something I've done recently though, related to that, is having events be dynamically (un)registered based on new keys, something like this gist. Doing that to an object from CreateFrame is certainly possible, but is it wise to alter its metatable?
  Reply With Quote