Originally Posted by Seerah
Yes, we call that a frame factory or a factory function. You can see an example of its usage with my sStats addon. The core sStats addon has the factory function, while the display modules use it to create their frames.
However, iirc, if you want to create secure frames/buttons you need to use XML.
|
Yeah, I too use them just like that. I find it much easier then mucking about with XML-files.
I'm fairly sure you don't even need to use XML for secure stuff either.