### 2.6.6 Registering Event Handlers

Event handlers are registered with

`void EZ_AddEventHandler(EZ_Widget *widget,`

`EZ_EventHandler handler, void *data)`

To remove a event handler from the event handler list, use

`void EZ_RemoveEventHandler(EZ_Widget *widget,`

`EZ_Handler handler, void *data)`

This function removes the specified event handler if both the procedure and the registered data match.

To remove all event handlers registered to a widget, use

`void EZ_RemoveAllEventHandlers(EZ_Widget *widget)`

HTML Documentation Maintainance:`Arturo Espinosa <arturo@nuclecu.unam.mx>`