glview_register_event_callback()

Register a callback to be fired for every event the app receives.

Synopsis:

#include <glview/glview.h>
 
GLVIEW_API int glview_register_event_callback(event_callback event_callback)

Since:

1.0

Arguments:

event_callback

The callback to be fired on an event. If this parameter is NULL then any previously set callback is disabled.

Library:

libglview (For the qcc command, use the -l glview option to link against this library)

Description:

Calling glview_register_event_callback() with a NULL event callback will disable any previously set callback from being fired on an event.

Returns:

GLVIEW_SUCCESS

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus