Register a callback to be fired for every event the app receives.
#include <glview/glview.h>
GLVIEW_API int glview_register_event_callback(event_callback event_callback)
The callback to be fired on an event. If this parameter is NULL then any previously set callback is disabled.
Calling glview_register_event_callback() with a NULL event callback will disable any previously set callback from being fired on an event.
GLVIEW_SUCCESS