settagmethod

LUA

settagmethod

settagmethod (TAG, EVENT, NEWMETHOD)

Sets a new tag method to the given pair (tag, event) and returns the old method. If NEWMETHOD is nil , then the default behavior is restored. Cannot be used for the “gc” event. (Use C API call for “gc”.)