register_from_callback


Description:

public static bool register_from_callback (owned EventListenerCB callback, string event_type) throws Error

Registers an EventListenerCB against an event_type.

Parameters:

callback

the EventListenerCB to be registered against an event type.

event_type

a character string indicating the type of events for which notification is requested. See register for a description of the format.

callback_destroyed

A DestroyNotify called when the callback is destroyed.

user_data

User data to be passed to the callback.

Returns:

TRUE if successfull, otherwise FALSE.