EventListener
Description:
Creates a new EventListener associated with a specified callback.
Parameters:
| callback |
An EventListenerCB to be called when an event is fired. |
| callback_destroyed |
A DestroyNotify called when the listener is freed and data associated with the callback should be freed. Can be NULL. |
| user_data |
data to pass to the callback. |
Returns:
|
A new EventListener. |