CVBpy 14.1
EventCookie Class Reference

Cookie used to unregister event handlers. More...

Inherits object.

Detailed Description

Cookie used to unregister event handlers.

A cookie object created and returned, each time an event handler is registered. An event handler can be python callable. Either way, there is no standard way to unregister such a handler, so the cookie needs to do this manually. If the object, to which a specific event handler was registered to, is destroyed, the cookie will be useless and can be destroyed as well.