DESTROY_CB

Called right before an element is destroyed.

Callback

int function(Ihandle *ih); [in C]
elem:destroy_cb() -> (ret: number) [in Lua]

ih: identifier of the element that activated the event.

Notes

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".

Affects

All.