Event:unbind

From Wake
Jump to: navigation, search

Unbind a function from an event. The function (and table, if specified) must be the same exact instance as was bound initially, or else this function will do nothing. Having the same exact implementation in a function is not enough for unbind to work.

Function

Synopsis

Event:unbind(func)
Event:unbind(t, func)

Arguments

function func

The function to unbind from the event.


table t

The table initially specified to Event:bind.

Returns

None.

See Also