View Single Post
09/14/15, 05:24 PM   #8
circonian
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 613
I agree the biggest use would probably be an example for people to look at to see how it works or copy/paste and they can already look at numerous other addons to see how to do it. There isn't very much code to it so it would not really be saving a lot of work.

As Baertram suggested with a lib you could allow registering and unregistering callback functions. Again that's not to much work to setup on your own, although it would make the lib more useful if anyone actually needs to ever unregister those callbacks, but I doubt anyone ever does and they can just do an early return in their callback if they no longer need it.
  Reply With Quote