Called right before an element is destroyed.
int function(Ihandle *ih); [in C] elem:destroy_cb() -> (ret: number) [in Lua]
ih: identifier of the element that activated the event.
For language binding implementations use the callback name "LDESTROY_CB" to release memory allocated by the binding for the element. This callback will be called before "DESTROY_CB".
All.